ASPxClientTreeList.NodeExpanding Event
Fires before a node is expanded.
Declaration
NodeExpanding: ASPxClientEvent<ASPxClientTreeListNodeEventHandler<ASPxClientTreeList>>
Event Data
The NodeExpanding event's data class is ASPxClientTreeListNodeEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
cancel | Gets or sets a value indicating whether the action which raised the event should be canceled. |
htmlEvent | Provides access to the parameters associated with the ASPxClientTreeList.NodeClick and ASPxClientTreeList.NodeDblClick events. |
nodeKey | Gets the processed node’s key value. |
Remarks
Handle the NodeExpanding event to specify whether the node is allowed to be expanded. To cancel this action, set the event parameter’s cancel property to true.
To learn more, see Expanding and Collapsing Nodes.
See Also