New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a PropertyFilterDescriptor that is associated with the string data type.

Definition

Constructors

Initializes a new instance of the TextFilterDescriptor class.

C#
public TextFilterDescriptor()

Properties

Gets or sets a value indicating whether the text comparisons will be case-sensitive. Defaults to true.

C#
public bool IsCaseSensitive { get; set; }

Gets or sets the TextOperator value that defines how the member is compared with each value from the items source.

C#
public TextOperator Operator { get; set; }

Methods

Encapsulates the core filter logic exposed by the descriptor. Allows inheritors to provide their own custom filtering logic.

C#
protected override bool PassesFilterOverride(object itemValue)
Parameters:itemValueobject

The property value, as defined by the property.

Returns:

bool

True if the filter is passed and the associated item should be displayed, false otherwise.

Overrides: PropertyFilterDescriptor.PassesFilterOverride(object)