Class PropertyFilterDescriptor
Represents a FilterDescriptorBase that is associated with a particular property in the underlying ViewModel.
Inheritance
Inherited Members
Namespace: Telerik.Maui.Controls.Data
Assembly: Telerik.Maui.Controls.dll
Syntax
public abstract class PropertyFilterDescriptor : FilterDescriptorBase, INotifyPropertyChanged, IPropertyDescriptor
Constructors
PropertyFilterDescriptor()
Declaration
protected PropertyFilterDescriptor()
Properties
PropertyName
Gets or sets the name of the property that is used to retrieve the value to filter by.
Declaration
public string PropertyName { get; set; }
Property Value
System.String
|
Value
Gets or sets the value used in the comparisons. This is the right operand of the comparison.
Declaration
public object Value { get; set; }
Property Value
System.Object
|
Methods
OnPropertyChanged(String)
Provides an entry point for inheritors to provide additional logic over the PropertyChanged routine.
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String
propertyName
|
Overrides
PassesFilterOverride(Object)
Encapsulates the core filter logic exposed by the descriptor. Allows inheritors to provide their own custom filtering logic.
Declaration
protected virtual 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. |