ClassTreeViewExpandCollapseAnimation
Animation for the TreeView Expand/Collapse.
Definition
Namespace:Telerik.Windows.Controls.Animation
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
public class TreeViewExpandCollapseAnimation : RadAnimation
Inheritance: objectRadAnimationTreeViewExpandCollapseAnimation
Derived Classes:
Inherited Members
Constructors
TreeViewExpandCollapseAnimation()
Initializes a new instance of the TreeViewExpandCollapseAnimation class.
Declaration
public TreeViewExpandCollapseAnimation()
Properties
AnimationTargetName
Gets or sets the name of the element that should be animated.
Direction
Gets or sets a value indicating whether the direction of the animation.
Declaration
public AnimationDirection Direction { get; set; }
Property Value
Duration
Gets or sets the duration of the easing animation.
Declaration
public TimeSpan Duration { get; set; }
Property Value
The duration.
EasingFunction
Gets or sets the easing function.
Declaration
public IEasingFunction EasingFunction { get; set; }
Property Value
IEasingFunction
The easing function.
TargetName
Gets or sets the name of the element that should be animated. Using this property causes generation of non compiling code by Blend.
Declaration
[Obsolete("This property will be removed because confuses the XAML parser. Use AnimationTargetName instead.", false)]
public string TargetName { get; set; }
Property Value
Methods
CreateAnimation(FrameworkElement)
Creates the TreeView animation.
Declaration
public override Storyboard CreateAnimation(FrameworkElement control)
Parameters
control
FrameworkElement
The control for which the animation is needed.
Returns
Storyboard
The newly created animation.
Overrides
UpdateAnimation(FrameworkElement, Storyboard, params object[])
Updates the TreeViewAnimation.
Declaration
public override void UpdateAnimation(FrameworkElement control, Storyboard storyboard, params object[] args)
Parameters
control
FrameworkElement
The control for which the animation needs to be updated.
storyboard
Storyboard
Storyboard that needs to be updated.
args
object[]
Optional arguments that the animation needs, can be provided by the control.
Overrides