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. This property is used when the value of the DistinctValuesDisplayMode property of the column is List.
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. This property is used when the value of the DistinctValuesDisplayMode property of the column is List.
Declaration
public IEnumerable<DistinctValueViewModel> FilteredDistinctValues { get; }
Property Value
System.Collections.Generic.IEnumerable<DistinctValueViewModel>
|
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
System.ComponentModel.ICollectionView
|
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 Nullable<bool> SelectAll { get; set; }
Property Value
System.Nullable<System.Boolean>
|