Class FilteringEventArgs
Provides data for the Filtering event.
Inheritance
Namespace: Syncfusion.Maui.TreeView
Assembly: Syncfusion.Maui.TreeView.dll
Syntax
public class FilteringEventArgs : CancelEventArgs
Remarks
This event is raised before the filter operation begins, allowing consumers to cancel the operation or inspect the filter configuration. Set System.ComponentModel.CancelEventArgs.Cancel to true to prevent filtering.
Constructors
FilteringEventArgs()
Initializes a new instance of the FilteringEventArgs class.
Declaration
public FilteringEventArgs()
Properties
FilterMode
Gets the filter mode being applied.
Declaration
public TreeViewFilterMode FilterMode { get; }
Property Value
| Type | Description |
|---|---|
| TreeViewFilterMode | The TreeViewFilterMode that will be used for filtering. |
FilterPath
Gets the single filter path being used for text-based filtering.
Declaration
public string FilterPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The property path to search within items. May be null if FilterPaths is used. |
FilterPaths
Gets the collection of filter paths being used for text-based filtering.
Declaration
public IList<string> FilterPaths { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<System.String> | The list of property paths to search within items. May be null if FilterPath is used. |
FilterText
Gets the filter text being applied.
Declaration
public string FilterText { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The text used for built-in text filtering modes. May be null or empty. |