Skip to main content
All docs
V24.2

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

TreeViewNodeFilterEventArgs Class

Provides data for the CustomNodeFilter event.

Namespace: DevExpress.Xpf.Grid.TreeList

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

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

public class TreeViewNodeFilterEventArgs :
    EventArgs

#Remarks

Use the CustomNodeFilter event to apply custom rules on how to filter data. The TreeViewControl raises this event for each node. The TreeViewNodeFilterEventArgs.Node property returns the processed node.

To hide or show a node, specify the TreeViewNodeFilterEventArgs.Visible property, and set the TreeViewNodeFilterEventArgs.Handled property to true.

If the TreeViewNodeFilterEventArgs.Handled property is set to false, the node’s visibility is determined by the filter applied to the TreeViewControl.

#Inheritance

Object
EventArgs
TreeViewNodeFilterEventArgs
See Also