Back to Devexpress

TreeListNodeAllowEventArgs Class

wpf-devexpress-dot-xpf-dot-grid-dot-treelist-29086e91.md

latest2.5 KB
Original Source

TreeListNodeAllowEventArgs Class

Provides data for the TreeListView.NodeExpanding and TreeListView.NodeCollapsing events.

Namespace : DevExpress.Xpf.Grid.TreeList

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public class TreeListNodeAllowEventArgs :
    TreeListNodeEventArgs
vb
Public Class TreeListNodeAllowEventArgs
    Inherits TreeListNodeEventArgs

TreeListNodeAllowEventArgs is the data class for the following events:

Remarks

The TreeListView.NodeExpanding and TreeListView.NodeCollapsing events occur when a node is about to be expanded or collapsed, allowing the action to be cancelled.

To cancel the action, set the event parameter’s TreeListNodeAllowEventArgs.Allow property to false. The processed node is returned by the TreeListNodeEventArgs.Node property.

To learn more, see Expanding and Collapsing Nodes.

Inheritance

Object EventArgs RoutedEventArgs TreeListNodeEventArgs TreeListNodeAllowEventArgs TreeListShowingNodeFooterEventArgs

See Also

TreeListNodeAllowEventArgs Members

DevExpress.Xpf.Grid.TreeList Namespace