Expands or collapses a node, optionally using a supplied Boolean state.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class NodeExpandCollapseCommand : CommandBase, IImageListProvider
Inheritance: objectCommandBaseNodeExpandCollapseCommand
Implements:
Constructors
C#
public NodeExpandCollapseCommand()
Methods
Determines whether the command can change a tree node's expanded state.
C#
public override bool CanExecute(object parameter)
The candidate node.
Returns:true for a RadTreeNode; otherwise, the base command result.
Overrides:
Toggles the node when no state is supplied, or applies the requested expanded state.