Back to Devexpress

DXTreeView.NodeCollapsing Event

maui-devexpress-dot-maui-dot-treeview-dot-dxtreeview-48b48c3d.md

latest1.5 KB
Original Source

DXTreeView.NodeCollapsing Event

Occurs before a node is collapsed.

Namespace : DevExpress.Maui.TreeView

Assembly : DevExpress.Maui.TreeView.dll

NuGet Package : DevExpress.Maui.TreeView

Declaration

csharp
public event EventHandler<TreeNodeCancelEventArgs> NodeCollapsing

Event Data

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

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
NodeGet 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

DXTreeView Class

DXTreeView Members

DevExpress.Maui.TreeView Namespace