Class FilteringViewModel
Provides a view model for interaction between the FilteringControl (UI) and FilterDescriptors (model).
Inherited Members
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public sealed class FilteringViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Properties
AvailableActions
Gets collection of available FilterOperator for the associated column's DataType.
Declaration
public ObservableCollection<FilterOperator> AvailableActions { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<FilterOperator>
The available operations for the column's DataType. |
DistinctValues
Gets a collection of DistinctValueViewModel that represent each distinct value.
Declaration
public IEnumerable<DistinctValueViewModel> DistinctValues { get; }
Property Value
System.Collections.Generic.IEnumerable<DistinctValueViewModel>
The DistinctValueViewModel collection for this FilteringViewModel. |
FieldFilterLogicalOperator
Gets or sets the field filter logical operator.
Declaration
public FilterCompositionLogicalOperator FieldFilterLogicalOperator { get; set; }
Property Value
FilterCompositionLogicalOperator
The field filter logical operator. |
Filter1
Gets the first field filter view model.
Declaration
public FilterDescriptorViewModel Filter1 { get; }
Property Value
FilterDescriptorViewModel
The first field filter view model. |
Filter2
Gets the second field filter view model.
Declaration
public FilterDescriptorViewModel Filter2 { get; }
Property Value
FilterDescriptorViewModel
The second field filter view model. |
FilteredDistinctValues
Gets a collection of DistinctValueViewModel that represent the filtered distinct value .
Declaration
public IEnumerable<DistinctValueViewModel> FilteredDistinctValues { get; }
Property Value
System.Collections.Generic.IEnumerable<DistinctValueViewModel>
|
LogicalOperators
Gets the logical operators.
Declaration
public IEnumerable<FilterCompositionLogicalOperator> LogicalOperators { get; }
Property Value
System.Collections.Generic.IEnumerable<FilterCompositionLogicalOperator>
The logical operators. |
SearchText
Gets or sets the CurrentText value of the RadWatermarkTextBox control used for filtering the distinct values.
Declaration
public string SearchText { get; set; }
Property Value
System.String
|
SelectAll
Gets or sets a value indicating whether select all options is applied.
Declaration
public bool? SelectAll { get; set; }
Property Value
System.Nullable<System.Boolean>
|