Specifies an explicit backward animation instead of using the implied backward animation of the animators involved. Be aware that actions are not part of the animation.
Triggers normally use the same animators when deactivating as they do when they activate. There are however
animations that require a different set of animators when animating back from the active state. For this purpose
one can bind a new set of animators to the
BackwardAnimation property like so:
<Panel Width="100" Height="100" Color="#00b2ee"> <WhilePressed> <Rotate Degrees="90" Duration="0.5" /> <Scale Factor="1.5" Duration="1" Easing="QuadraticInOut" /> <TriggerAnimation ux:Binding="BackwardAnimation"> <Scale Factor="1.5" Duration="1" Easing="QuadraticInOut" /> </TriggerAnimation> </WhilePressed> </Panel>
In this example, the Panel only rotates when pressed. When the pointer is released, it does not animate back. Note that the effect of the animators are still reversed. The only difference is that they loose their duration.
- Fuse.Triggers 1.11.2