Class SearchFilterDescriptor
Represent a CompositeFilterDescriptor that is used for search as you type.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.GridView.SearchPanel
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class SearchFilterDescriptor : CompositeFilterDescriptor, ISuspendNotifications, ICompositeFilterDescriptor, IFilterDescriptor, INotifyPropertyChanged
Constructors
SearchFilterDescriptor(IEnumerable<SearchDataMemberDescriptor>, FilterOperatorType, SearchStateManager)
Initializes a new instance of the SearchFilterDescriptor class.
Declaration
public SearchFilterDescriptor(IEnumerable<SearchDataMemberDescriptor> dataMembers, FilterOperatorType filterOperatorType, SearchStateManager searchStateManager)
Parameters
System.Collections.Generic.IEnumerable<SearchDataMemberDescriptor>
dataMembers
|
FilterOperatorType
filterOperatorType
|
SearchStateManager
searchStateManager
|
Properties
FilterOperatorType
Gets or sets the FilterOperatorType.
Declaration
protected FilterOperatorType FilterOperatorType { get; set; }
Property Value
FilterOperatorType
|
FilterValue
Gets or sets the filter value.
Declaration
public string FilterValue { get; set; }
Property Value
System.String
|
Methods
CreateFilterExpression(ParameterExpression)
Creates a filter expression based on the FilterDescriptor data.
Declaration
protected override Expression CreateFilterExpression(ParameterExpression parameterExpression)
Parameters
System.Linq.Expressions.ParameterExpression
parameterExpression
|
Returns
System.Linq.Expressions.Expression
|
Overrides
GetFilterOperatorForType(Type)
Decides the filter operator based to the data member type.
Declaration
protected virtual FilterOperator GetFilterOperatorForType(Type dataType)
Parameters
System.Type
dataType
|
Returns
FilterOperator
|