Back to Devexpress

ASPxTreeList.NodeExpanding Event

aspnet-devexpress-dot-web-dot-aspxtreelist-dot-aspxtreelist-cf4a8c3d.md

latest2.2 KB
Original Source

ASPxTreeList.NodeExpanding Event

Fires before a node is expanded.

Namespace : DevExpress.Web.ASPxTreeList

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

NuGet Package : DevExpress.Web

Declaration

csharp
public event TreeListNodeCancelEventHandler NodeExpanding
vb
Public Event NodeExpanding As TreeListNodeCancelEventHandler

Event Data

The NodeExpanding event's data class is TreeListNodeCancelEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets whether the operation performed on the processed node should be cancelled.
NodeGets 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

NodeCollapsing

Expand and Collapse Nodes

Tree List

ASPxTreeList Class

ASPxTreeList Members

DevExpress.Web.ASPxTreeList Namespace