Skip to main content
A newer version of this page is available. .

TreeListNodeFilterEventArgs Class

Provides data for the TreeListView.CustomNodeFilter event.

Namespace: DevExpress.Xpf.Grid.TreeList

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public class TreeListNodeFilterEventArgs :
    EventArgs

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.

Inheritance

Object
EventArgs
TreeListNodeFilterEventArgs
See Also