Class DateTimeFilterDescriptor
Represents a PropertyFilterDescriptor that is associated with the System.DateTime data type.
Inheritance
Inherited Members
Namespace: Telerik.Maui.Controls.Data
Assembly: Telerik.Maui.Controls.dll
Syntax
public class DateTimeFilterDescriptor : PropertyFilterDescriptor, INotifyPropertyChanged, IPropertyDescriptor
Constructors
DateTimeFilterDescriptor()
Declaration
public DateTimeFilterDescriptor()
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
|
Part
Gets or sets the DateTimePart value that determines which parts of the underlying DateTime structures participate in the filtering comparison. Defaults to Ticks
Declaration
public DateTimePart Part { get; set; }
Property Value
DateTimePart
|
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. |