All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TreeViewControl.NodeExpanding Event

Occurs before a node is expanded.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.2.dll

Declaration

public event TreeViewNodeAllowEventHandler NodeExpanding
Public Event NodeExpanding As TreeViewNodeAllowEventHandler

Event Data

The NodeExpanding event's data class is DevExpress.Xpf.Grid.TreeList.TreeViewNodeAllowEventArgs.

Remarks

This event occurs when a user tries to expand a node. You can handle this event to cancel the action. To do this, set the event parameter's TreeListNodeAllowEventArgs.Allow property to false.

After a user expands a node, the TreeViewControl raises the NodeExpanded event.

See Also