Back to Devexpress

TreeListNodeFilterEventArgs Class

wpf-devexpress-dot-xpf-dot-grid-dot-treelist-911553b8.md

latest2.4 KB
Original Source

TreeListNodeFilterEventArgs Class

Provides data for the TreeListView.CustomNodeFilter event.

Namespace : DevExpress.Xpf.Grid.TreeList

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public class TreeListNodeFilterEventArgs :
    EventArgs
vb
Public Class TreeListNodeFilterEventArgs
    Inherits EventArgs

TreeListNodeFilterEventArgs is the data class for the following events:

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

TreeListNodeFilterEventArgs Members

DevExpress.Xpf.Grid.TreeList Namespace