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
Initializes a new instance of the TreeViewExpandCollapseAnimation class.
public TreeViewExpandCollapseAnimation()
Properties
Gets or sets the name of the element that should be animated.
public string AnimationTargetName { get; set; }
Gets or sets a value indicating whether the direction of the animation.
public AnimationDirection Direction { get; set; }
Gets or sets the duration of the easing animation.
public TimeSpan Duration { get; set; }
The duration.
EasingFunction
IEasingFunction
Gets or sets the easing function.
public IEasingFunction EasingFunction { get; set; }
The easing function.
Gets or sets the name of the element that should be animated. Using this property causes generation of non compiling code by Blend.
[Obsolete("This property will be removed because confuses the XAML parser. Use AnimationTargetName instead.", false)]
public string TargetName { get; set; }
Methods
CreateAnimation(FrameworkElement)
Storyboard
Creates the TreeView animation.
public override Storyboard CreateAnimation(FrameworkElement control)
The control for which the animation is needed.
Returns:Storyboard
The newly created animation.
Overrides:
Updates the TreeViewAnimation.
public override void UpdateAnimation(FrameworkElement control, Storyboard storyboard, params object[] args)
The control for which the animation needs to be updated.
storyboardStoryboardStoryboard that needs to be updated.
argsobject[]Optional arguments that the animation needs, can be provided by the control.
Overrides: