Back to Devexpress

ASPxTreeList.NodeCollapsed Event

aspnet-devexpress-dot-web-dot-aspxtreelist-dot-aspxtreelist-11240f11.md

latest2.3 KB
Original Source

ASPxTreeList.NodeCollapsed Event

Fires after a node has been collapsed.

Namespace : DevExpress.Web.ASPxTreeList

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

NuGet Package : DevExpress.Web

Declaration

csharp
public event TreeListNodeEventHandler NodeCollapsed
vb
Public Event NodeCollapsed As TreeListNodeEventHandler

Event Data

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

PropertyDescription
NodeGets the node currently being processed.

Remarks

This event is raised after a node has been collapsed by an end-user or in code. Note that it provides a notification only, and you cannot cancel the action. To control whether individual nodes can be collapsed, handle the ASPxTreeList.NodeCollapsing event instead.

To learn more, see Expanding and Collapsing Nodes.

See Also

NodeCollapsing

NodeExpanding

NodeExpanded

Expand and Collapse Nodes

Tree List

ASPxTreeList Class

ASPxTreeList Members

DevExpress.Web.ASPxTreeList Namespace