From : Element ux
Transition the element from this one.
Lets you create a temporary layout change. This can be used to do visual layout transitions without needing actual layout changes.
It has no noticeable effect on its own, and needs to be combined with a LayoutAnimation. The LayoutAnimation will in turn be triggered by this action.
This example demonstrates TransitionLayout
in action when a button is clicked.
<DockPanel>
<Panel Dock="Top" Height="20" ux:Name="originElement" />
<Button Height="100" Dock="Bottom" Text="Transition!">
<LayoutAnimation>
<Move X="1" Y="1" RelativeTo="WorldPositionChange" Duration="1" />
<Resize X="1" Y="1" RelativeTo="SizeChange" Duration="1" />
</LayoutAnimation>
<Clicked>
<TransitionLayout From="originElement" />
</Clicked>
</Button>
</DockPanel>
When clicked, the Button in this example will perform a transition over 1 second from the position and size of originElement
(top edge of the DockPanel) to its actual position and size (bottom edge of the DockPanel).
Transition the element from this one.
Explicit target that will be transitioned. If not specified the Element ancestor of the action will be used
Creates a new TransitionLayout
The number of seconds after the start of the trigger that the action should be performed.
hide
hide
hide