TreeListNodeFilterEventArgs Class
Provides data for the TreeListView.CustomNodeFilter event.
Namespace: DevExpress.Xpf.Grid.TreeList
Assembly: DevExpress.Xpf.Grid.v24.2.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Remarks
Custom filtering is hiding individual nodes, or making them visible. To manually filter nodes, handle the TreeListView.CustomNodeFilter event. This event is raised for each node. The currently processed node is returned by the event parameter’s TreeListNodeFilterEventArgs.Node property.
To hide or show a node, specify the event parameter’s TreeListNodeFilterEventArgs.Visible property, and set the TreeListNodeFilterEventArgs.Handled property to true. If the TreeListNodeFilterEventArgs.Handled parameter is set to false, the node’s visibility is determined by the filter currently applied to a View. So, the node will only be visible if it matches the View’s filter. Otherwise, it will be hidden.
Note
If a node is hidden, all its child nodes are also hidden, regardless of their visibility.