Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXTreeView.NodeExpanding Event

Occurs before a node is expanded.

Namespace: DevExpress.Maui.TreeView

Assembly: DevExpress.Maui.TreeView.dll

NuGet Package: DevExpress.Maui.TreeView

#Declaration

C#
public event EventHandler<TreeNodeCancelEventArgs> NodeExpanding

#Event Data

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

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
Node Get the node of the tapped item.

#Remarks

For more information, refer to the following help topic: Respond to User Actions when Collapsing and Expanding Nodes.

See Also