ClassFilteringViewModel
Provides a view model for interaction between the FilteringControl (UI) and FilterDescriptors (model).
Definition
Namespace:Telerik.Windows.Controls.GridView
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public sealed class FilteringViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBaseFilteringViewModel
Implements:
Inherited Members
Properties
AvailableActions
Gets collection of available FilterOperator for the associated column's DataType.
Declaration
public ObservableCollection<FilterOperator> AvailableActions { get; }
Property Value
ObservableCollection<FilterOperator>
The available operations for the column's DataType.
DistinctValues
Gets a collection of DistinctValueViewModel that represent each distinct value. This property is used when the value of the DistinctValuesDisplayMode property of the column is List.
Declaration
public IEnumerable<DistinctValueViewModel> DistinctValues { get; }
Property Value
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
The first field filter view model.
Filter2
Gets the second field filter view model.
Declaration
public FilterDescriptorViewModel Filter2 { get; }
Property Value
The second field filter view model.
FilteredDistinctValues
Gets a collection of DistinctValueViewModel that represent the filtered distinct value. This property is used when the value of the DistinctValuesDisplayMode property of the column is List.
Declaration
public IEnumerable<DistinctValueViewModel> FilteredDistinctValues { get; }
Property Value
GroupedDistinctValuesView
Gets the ICollectionView representing the filtered GroupDistinctValueViewModels. This property is used when the value of the DistinctValuesDisplayMode property of the column is Tree.
Declaration
public ICollectionView GroupedDistinctValuesView { get; }
Property Value
ICollectionView
LogicalOperators
Gets the logical operators.
Declaration
public IEnumerable<FilterCompositionLogicalOperator> LogicalOperators { get; }
Property Value
IEnumerable<FilterCompositionLogicalOperator>
The logical operators.
SearchText
Gets or sets the CurrentText value of the RadWatermarkTextBox control used for filtering the distinct values.