Class FilterDescriptor
Inheritance
Inherited Members
Namespace: Telerik.WinControls.Data
Assembly: Telerik.WinControls.dll
Syntax
public class FilterDescriptor : INotifyPropertyChanged, INotifyPropertyChangingEx, ICloneable
Constructors
FilterDescriptor()
Declaration
public FilterDescriptor()
FilterDescriptor(String, FilterOperator, Object)
Declaration
public FilterDescriptor(string propertyName, FilterOperator filterOperator, object value)
Parameters
System.String
propertyName
|
FilterOperator
filterOperator
|
System.Object
value
|
Properties
Expression
Gets the filter expression.
Declaration
public virtual string Expression { get; }
Property Value
System.String
The filter expression. |
IsFilterEditor
Gets a value indicating whether this instance is default filter descriptor of the column
Declaration
public virtual bool IsFilterEditor { get; set; }
Property Value
System.Boolean
|
Operator
Gets or sets the operator.
Declaration
public virtual FilterOperator Operator { get; set; }
Property Value
FilterOperator
The operator. |
PropertyName
Gets or sets the name of the property.
Declaration
public virtual string PropertyName { get; set; }
Property Value
System.String
The name of the property. |
Value
Gets or sets the value.
Declaration
public virtual object Value { get; set; }
Property Value
System.Object
The value. |
Methods
Clone()
Declaration
public virtual object Clone()
Returns
System.Object
|
Implements
GetExpression(FilterDescriptor)
Gets the expression.
Declaration
public static string GetExpression(FilterDescriptor filterDescriptor)
Parameters
FilterDescriptor
filterDescriptor
The filter descriptor. |
Returns
System.String
|
GetExpression(FilterDescriptor, Function<FilterDescriptor, Object>)
Declaration
public static string GetExpression(FilterDescriptor filterDescriptor, Function<FilterDescriptor, object> formatValue)
Parameters
FilterDescriptor
filterDescriptor
|
Function<FilterDescriptor, System.Object>
formatValue
|
Returns
System.String
|
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event
Declaration
protected virtual void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
A System.ComponentModel.PropertyChangedEventArgs instance containing event data. |
OnPropertyChanged(String)
Raises the PropertyChanged event
Declaration
protected void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
The name of the property |
OnPropertyChanging(String, Object, Object)
Declaration
protected bool OnPropertyChanging(string propertyName, object oldValue, object newValue)
Parameters
System.String
propertyName
|
System.Object
oldValue
|
System.Object
newValue
|
Returns
System.Boolean
|
OnPropertyChanging(PropertyChangingEventArgsEx)
Declaration
protected virtual void OnPropertyChanging(PropertyChangingEventArgsEx e)
Parameters
PropertyChangingEventArgsEx
e
|
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents this instance. |
Overrides
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|
PropertyChanging
Declaration
public event PropertyChangingEventHandlerEx PropertyChanging
Event Type
PropertyChangingEventHandlerEx
|