ASPxTreeList.NodeExpanding Event

Fires before a node is expanded.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v19.2.dll

Declaration

public event TreeListNodeCancelEventHandler NodeExpanding
Public Event NodeExpanding As TreeListNodeCancelEventHandler

Event Data

The NodeExpanding event handler receives an argument of the TreeListNodeCancelEventArgs type. The following properties provide information specific to this event.

Property Description
Cancel Gets or sets whether the operation performed on the processed node should be cancelled.
Node Gets the node currently being processed.
(Inherited from TreeListNodeEventArgs)

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