TreeExpandAnimation
Provides hooks and helpers for animating the visual changes caused by expanding or collapsing a tree node.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public abstract class TreeExpandAnimation
Inheritance: objectTreeExpandAnimation
Derived Classes:
Constructors
Initializes the animation with the tree element whose rows and layout it updates.
public TreeExpandAnimation(RadTreeViewElement treeViewElement)
The tree element associated with this animation.
Properties
Gets the tree element associated with this animation.
public RadTreeViewElement TreeViewElement { get; }
Methods
Animates the visual descendants of a collapsed node.
public abstract void Collapse(RadTreeNode treeNode)
The node whose collapse is being animated.
Animates the visual descendants of an expanded node.
public abstract void Expand(RadTreeNode treeNode)
The node whose expansion is being animated.
Gets the currently realized visual elements that represent descendants of the specified node.
protected List<TreeNodeElement> GetAssociatedNodes(RadTreeNode node)
The ancestor node whose visual descendants are requested.
Returns:List<TreeNodeElement>
The realized descendant elements in the tree view's current visual collection.
Applies the node's expanded-state change to the tree view and refreshes its layout.
protected void UpdateViewOnExpandChanged(RadTreeNode node)
The node whose expanded state changed.