TreeListNodeFilterEventArgs Class

Provides data for the TreeListView.CustomNodeFilter event.

Namespace: DevExpress.Xpf.Grid.TreeList

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

Declaration

public class TreeListNodeFilterEventArgs :
    EventArgs
Public Class TreeListNodeFilterEventArgs
    Inherits 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