Class TextFilterDescriptor
Represents a PropertyFilterDescriptor that is associated with the System.String data type.
Inheritance
Inherited Members
Namespace: Telerik.XamarinForms.Common.Data
Assembly: Telerik.XamarinForms.Common.dll
Syntax
public class TextFilterDescriptor : PropertyFilterDescriptor, INotifyPropertyChanged, IPropertyDescriptor
Constructors
TextFilterDescriptor()
Initializes a new instance of the TextFilterDescriptor class.
Declaration
public TextFilterDescriptor()
Properties
IsCaseSensitive
Gets or sets a value indicating whether the text comparisons will be case-sensitive. Defaults to true.
Declaration
public bool IsCaseSensitive { get; set; }
Property Value
|
System.Boolean
|
Operator
Gets or sets the TextOperator value that defines how the Value member is compared with each value from the items source.
Declaration
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
protected override bool PassesFilterOverride(object itemValue)
Parameters
|
System.Object
itemValue
The property value, as defined by the PropertyName property. |
Returns
|
System.Boolean
True if the filter is passed and the associated item should be displayed, false otherwise. |