Skip to main content

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

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

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