Skip to content

set up react-native-xaml to support non-xaml objects #141

@jechternach

Description

@jechternach

Summary

It would be helpful to have support for non-xaml objects, such as composition objects that control animations

Motivation

Supports cases for applying animations to xaml objects, such as transition animations in gridView

Basic Example

<Style x:Key="sampleStyle" TargetType="GridView">
        <Setter Property="Template">
          <Setter.Value>
            <ControlTemplate TargetType="GridView">
              <GridView>
                <GridView.ItemContainerTransitions>
                  <TransitionCollection>
                        someAnimation
                  </TransitionCollection>
                </GridView.ItemContainerTransitions>
                <GridView.ItemsPanel>
                  <ItemsPanelTemplate>
                  </ItemsPanelTemplate>
                </GridView.ItemsPanel>
              </GridView>
            </ControlTemplate>
          </Setter.Value>
        </Setter>
</Style>

Open Questions

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions