FilteringViewModel
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
Gets collection of available FilterOperator for the associated column's DataType.
public ObservableCollection<FilterOperator> AvailableActions { get; }
The available operations for the column's DataType.
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.
public IEnumerable<DistinctValueViewModel> DistinctValues { get; }
The DistinctValueViewModel collection for this FilteringViewModel.
Gets or sets the field filter logical operator.
public FilterCompositionLogicalOperator FieldFilterLogicalOperator { get; set; }
The field filter logical operator.
Gets the first field filter view model.
public FilterDescriptorViewModel Filter1 { get; }
The first field filter view model.
Gets the second field filter view model.
public FilterDescriptorViewModel Filter2 { get; }
The second field filter view model.
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.
public IEnumerable<DistinctValueViewModel> FilteredDistinctValues { get; }
GroupedDistinctValuesView
ICollectionView
Gets the ICollectionView representing the filtered GroupDistinctValueViewModels. This property is used when the value of the DistinctValuesDisplayMode property of the column is Tree.
public ICollectionView GroupedDistinctValuesView { get; }
Gets the logical operators.
public IEnumerable<FilterCompositionLogicalOperator> LogicalOperators { get; }
The logical operators.
Gets or sets the CurrentText value of the RadWatermarkTextBox control used for filtering the distinct values.
public string SearchText { get; set; }