New to Telerik UI for WPF? Start a free 30-day trial

Provides a view model for interaction between FilteringControl and FilterDescriptors.

Definition

Namespace:Telerik.Windows.Controls.VirtualGrid

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

C#
public sealed class FilteringViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable

Inheritance: objectViewModelBaseFilteringViewModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.PropertyChanged

Properties

Gets collection of available FilterOperator

C#
public ObservableCollection<FilterOperator> AvailableActions { get; }

Gets a collection of DistinctValueViewModel that represent each distinct value.

C#
public IEnumerable<DistinctValueViewModel> DistinctValues { get; }
Property Value:

The DistinctValueViewModel collection for this FilteringViewModel.

Gets or sets the field filter logical operator.

C#
public FilterCompositionLogicalOperator FieldFilterLogicalOperator { get; set; }
Property Value:

The field filter logical operator.

Gets the first field filter view model.

C#
public FilterDescriptorViewModel Filter1 { get; }
Property Value:

The first field filter view model.

Gets the second field filter view model.

C#
public FilterDescriptorViewModel Filter2 { get; }
Property Value:

The second field filter view model.

Gets the logical operators.

C#
public IEnumerable<FilterCompositionLogicalOperator> LogicalOperators { get; }

Gets or sets a value indicating whether select all options is applied.

C#
public bool? SelectAll { get; set; }
Property Value:

true if select all is used; otherwise, false.