Skip to main content

ASPxClientTreeList.NodeCollapsing Event

Fires before a node is collapsed.

Declaration

NodeCollapsing: ASPxClientEvent<ASPxClientTreeListNodeEventHandler<ASPxClientTreeList>>

Event Data

The NodeCollapsing 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 NodeCollapsing event to specify whether the node is allowed to be collapsed. To cancel this action, set the event parameter’s cancel property to true.

To learn more, see Expanding and Collapsing Nodes.

See Also