Class
TextFilterDescriptor

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

Definition

Constructors

TextFilterDescriptor()

Initializes a new instance of the TextFilterDescriptor class.

Declaration

cs-api-definition
public TextFilterDescriptor()

Properties

IsCaseSensitive

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

Declaration

cs-api-definition
public bool IsCaseSensitive { get; set; }

Property Value

bool

Operator

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

Declaration

cs-api-definition
public TextOperator Operator { get; set; }

Property Value

TextOperator

Methods

PassesFilterOverride(object)

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

Declaration

cs-api-definition
protected override bool PassesFilterOverride(object itemValue)

Parameters

itemValue

object

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)