Class NumericalFilterDescriptor
Represents a PropertyFilterDescriptor that is associated with all the numerical data types available in .NET.
byte, sbyte, short, ushort, int, uint,
long, ulong, float, double, decimal.
Inheritance
Inherited Members
Namespace: Telerik.XamarinForms.Common.Data
Assembly: Telerik.XamarinForms.Common.dll
Syntax
public class NumericalFilterDescriptor : PropertyFilterDescriptor, INotifyPropertyChanged, IPropertyDescriptor
Constructors
NumericalFilterDescriptor()
Declaration
public NumericalFilterDescriptor()
Properties
Operator
Gets or sets the NumericalOperator value that defines the boolean logic behind the left and right operand comparison.
Declaration
public NumericalOperator Operator { get; set; }
Property Value
|
NumericalOperator
|
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 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. |