ClassSearchFilterDescriptor
Represent a CompositeFilterDescriptor that is used for search as you type.
Definition
Namespace:Telerik.Windows.Controls.GridView.SearchPanel
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class SearchFilterDescriptor : CompositeFilterDescriptor, ISuspendNotifications, ICompositeFilterDescriptor, IFilterDescriptor, INotifyPropertyChanged
Inheritance: objectInheritanceContextPropagatorDescriptorBaseFilterDescriptorBaseCompositeFilterDescriptorSearchFilterDescriptor
Derived Classes:
Implements:
Inherited Members
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
dataMembers
IEnumerable<SearchDataMemberDescriptor>
filterOperatorType
searchStateManager
Properties
FilterOperatorType
Gets or sets the FilterOperatorType.
Declaration
protected FilterOperatorType FilterOperatorType { get; set; }
Property Value
FilterValue
Gets or sets the filter value.
Methods
CreateFilterExpression(ParameterExpression)
Creates a filter expression based on the FilterDescriptor data.
Declaration
protected override Expression CreateFilterExpression(ParameterExpression parameterExpression)
Parameters
parameterExpression
Returns
Overrides
GetFilterOperatorForType(Type)
Decides the filter operator based to the data member type.
Declaration
protected virtual FilterOperator GetFilterOperatorForType(Type dataType)
Parameters
dataType
Returns