SwitchAnimation Element
Specifies two or more animations from which to choose, based on a value from Choice, BooleanChoice, RangedValue, or IntRangedValue.
Syntax
<SwitchAnimation
Expression="IValueRange object"
Options="IDictionary object"
Type="{Alpha | ContentChangeHide | ContentChangeShow | GainFocus | Hide | Idle | LoseFocus | Move | Rotate | Scale | Show | Size}"
/>
Attributes
Expression
Specifies an IValueRange object that is queried to get the key into the Options dictionary. For example, the object would be a value from a Choice, BooleanChoice, RangedValue, or IntRangedValue object.
Options
Specifies a dictionary of animations to choose from. The expression result maps to the Options dictionary key.
Type
Indicates the type of event that this animation will respond to. This value must be a member of the AnimationEventType enumeration.
Requirements
Platform: Windows 7
See Also