Class TreeViewTextFilter<T>
Inheritance
System.Object
TreeViewTextFilter<T>
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class TreeViewTextFilter<T> : ITreeViewFilter<T> where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceTreeViewTextFilter(TreeView<T>)
Creates a new instance of the filter for use with
forTree
.
Set Text to begin filtering.
Declaration
public TreeViewTextFilter(TreeView<T> forTree)
Parameters
Type | Name | Description |
---|---|---|
TreeView<T> | forTree |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
Properties
| Improve this Doc View SourceComparer
The case sensitivity of the search match.
Defaults to System.StringComparison.OrdinalIgnoreCase.
Declaration
public StringComparison Comparer { get; set; }
Property Value
Type | Description |
---|---|
System.StringComparison |
Text
The text that will be searched for in the TreeView<T>
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceIsMatch(T)
Declaration
public bool IsMatch(T model)
Parameters
Type | Name | Description |
---|---|---|
T | model |
Returns
Type | Description |
---|---|
System.Boolean |