Class DateFilterDescriptor
Inherited Members
Namespace: Telerik.WinControls.Data
Assembly: Telerik.WinControls.dll
Syntax
public class DateFilterDescriptor : FilterDescriptor, INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable
Constructors
DateFilterDescriptor()
Declaration
public DateFilterDescriptor()
DateFilterDescriptor(String, FilterOperator, Nullable<DateTime>)
Declaration
public DateFilterDescriptor(string propertyName, FilterOperator filterOperator, DateTime? value)
Parameters
System.String
propertyName
|
FilterOperator
filterOperator
|
System.Nullable<System.DateTime>
value
|
DateFilterDescriptor(String, FilterOperator, Nullable<DateTime>, Boolean)
Declaration
public DateFilterDescriptor(string propertyName, FilterOperator filterOperator, DateTime? value, bool ignoreTimePart)
Parameters
System.String
propertyName
|
FilterOperator
filterOperator
|
System.Nullable<System.DateTime>
value
|
System.Boolean
ignoreTimePart
|
Properties
Expression
Gets the filter expression.
Declaration
public override string Expression { get; }
Property Value
System.String
The filter expression. |
Overrides
IgnoreTimePart
Get or set if the time part of date value should be ignored.
Declaration
public bool IgnoreTimePart { get; set; }
Property Value
System.Boolean
|
Value
Gets or sets the date value.
Declaration
public DateTime? Value { get; set; }
Property Value
System.Nullable<System.DateTime>
The date value. |
Methods
Clone()
GetExpression(DateFilterDescriptor)
Gets the expression.
Declaration
public static string GetExpression(DateFilterDescriptor dateTimeFilterDescriptor)
Parameters
DateFilterDescriptor
dateTimeFilterDescriptor
The filter descriptor. |
Returns
System.String
|
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents this instance. |