Class DistinctValuesFilterDescriptor
The default implementation of IDistinctValuesFilterDescriptor.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.VirtualGrid
Assembly: Telerik.Windows.Controls.VirtualGrid.dll
Syntax
public class DistinctValuesFilterDescriptor : DescriptorBase, ISuspendNotifications, IFilterDescriptor, INotifyPropertyChanged
Constructors
DistinctValuesFilterDescriptor(String)
Initializes a new instance of the DistinctValuesFilterDescriptor class.
Declaration
public DistinctValuesFilterDescriptor(string memberName)
Parameters
System.String
memberName
|
Properties
DistinctValues
Gets the selected distinct values.
Declaration
public IEnumerable<object> DistinctValues { get; }
Property Value
System.Collections.Generic.IEnumerable<System.Object>
|
Methods
AddDistinctValue(Object)
Adds a selected distinct value to the filter.
Declaration
public void AddDistinctValue(object distinctValue)
Parameters
System.Object
distinctValue
|
Clear()
Clears the selected distinct values.
Declaration
public void Clear()
CreateFilterExpression(Expression)
Creates a filter expression based on the given filter descriptors.
Declaration
public Expression CreateFilterExpression(Expression instance)
Parameters
System.Linq.Expressions.Expression
instance
|
Returns
System.Linq.Expressions.Expression
|
Implements
RemoveDistinctValue(Object)
Removes a selected distinct value from the filter.
Declaration
public bool RemoveDistinctValue(object distinctValue)
Parameters
System.Object
distinctValue
|
Returns
System.Boolean
|
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents the current System.Object. |