Scales the element. Note that scale doesn't actually change the elements size. This means that the rest of the UI layout wont be affected and the animation is guaranteed to be fast.
You can scale an element uniformly along all axes by using the
Factor property. Alternatively, you can also scale on a per-axis basis using
Tip: You can use
Scale relative to something using the
RelativeTo property. The two choices are:
SizeChange- scales relative to the change in size of the element specified by the
SizeFactor- scales with a factor relative to another element, specified by
RelativeNode. A factor of
1would make it the same size as the
RelativeNode, while a factor of
0.5would make it half the size, and so on.
The following example scales a rectangle when it is being pressed
<Rectangle> <WhilePressed> <Scale Factor="2" Duration="0.4"/> </WhilePressed> </Rectangle>
- Fuse.Animations 2.4.0
Interface of Scale
RelativeTo : IScalingMode ux
Inherited from TransformAnimator<Scaling>
When multiple transforms are applied they are applied in a priority order. This setting allows you to override the default priority to get a new order.
RelativeNode : Visual ux
Lets you move an element relative to another by specifyig a Visual to which this transform is relative.
The visual that should be animated. If not set, the containing visual is animated by default.
Inherited from TrackAnimator
How long to wait, from the end of the backward timeline, before the animator starts changing the value.
For a continuous track: The duration of the change of the value.
DurationBack : double ux
For a continuous track: The duraciton of the change of the value in the backward timeline.
For a continuous track: This specifies the transition easing between a source and target value.
EasingBack : Easing ux
For a continuous track: This specified the easing for the backward timeline.
Specifies how the Keyframes are interpolated.
Provider : ITrackProvider ux
Inherited from Animator
How to mix this animator when there are multiple conflicting animators affecting the target.