Class TreeViewTextFilter | Terminal.Gui v1 (original) (raw)

public class TreeViewTextFilter<T> : ITreeViewFilter<T> where T : class

Type Parameters

T

Inheritance

TreeViewTextFilter

Implements

Inherited Members

Constructors

TreeViewTextFilter(TreeView)

Creates a new instance of the filter for use with forTree. Set Text to begin filtering.

Properties

Comparer

The case sensitivity of the search match. Defaults to OrdinalIgnoreCase.

Text

The text that will be searched for in the TreeView

Methods

IsMatch(T)

Returns T if there is no Text or the text matches the AspectGetter of themodel.