ClassDateFilterDescriptor
Represents a descriptor for filtering date values in a data source.
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Syntax:
public class DateFilterDescriptor : FilterDescriptor, INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable
Inheritance: objectFilterDescriptorDateFilterDescriptor
Implements:
Inherited Members
Constructors
DateFilterDescriptor()
Declaration
public DateFilterDescriptor()
DateFilterDescriptor(string, FilterOperator, DateTime?)
Declaration
public DateFilterDescriptor(string propertyName, FilterOperator filterOperator, DateTime? value)
Parameters
propertyName
filterOperator
value
DateFilterDescriptor(string, FilterOperator, DateTime?, bool)
Declaration
public DateFilterDescriptor(string propertyName, FilterOperator filterOperator, DateTime? value, bool ignoreTimePart)
Parameters
propertyName
filterOperator
value
ignoreTimePart
Properties
Expression
Gets the filter expression.
Declaration
public override string Expression { get; }
Property Value
The filter expression.
Overrides
IgnoreTimePart
Get or set if the time part of date value should be ignored.
Methods
Clone()
Creates a clone of the current DateFilterDescriptor instance.
Declaration
public override object Clone()
Returns
A new instance of DateFilterDescriptor that is a copy of the current instance.
Overrides
GetExpression(DateFilterDescriptor)
Gets the expression.
Declaration
public static string GetExpression(DateFilterDescriptor dateTimeFilterDescriptor)
Parameters
dateTimeFilterDescriptor
The filter descriptor.
Returns
ToString()
Returns a string that represents this instance.