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

Represents the view model of the custom filter dialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class CustomFilterDialogViewModel : DialogViewModelBase<CustomFilterDialogContext>

Inheritance: objectDialogViewModelBase<CustomFilterDialogContext>CustomFilterDialogViewModel

Inherited Members DialogViewModelBase<CustomFilterDialogContext>.Context

Constructors

Initializes a new instance of the CustomFilterDialogViewModel class.

C#
public CustomFilterDialogViewModel(CustomFilterDialogContext context, Action closeDialogAction)
Parameters:contextCustomFilterDialogContext

The context.

closeDialogActionAction

The close dialog action.

Properties

Gets the cancel command.

C#
public ICommand CancelCommand { get; }
Property Value:

The cancel command.

Gets the comparison operator items source.

C#
public IEnumerable<ComparisonOperatorItem> ComparisonOperatorItemsSource { get; }
Property Value:

The comparison operator items source.

Gets the dialog header.

C#
public string DialogHeader { get; }
Property Value:

The dialog header.

Gets the OK command.

C#
public ICommand OKCommand { get; }
Property Value:

The OK command.

Gets or sets the first selected comparison operator.

C#
public ComparisonOperatorItem SelectedComparisonOperator1 { get; set; }
Property Value:

The first selected comparison operator.

Gets or sets the second selected comparison operator.

C#
public ComparisonOperatorItem SelectedComparisonOperator2 { get; set; }
Property Value:

The second selected comparison operator.

Gets or sets the selected logical operator.

C#
public LogicalOperator SelectedLogicalOperator { get; set; }
Property Value:

The selected logical operator.

Gets or sets the first value.

C#
public string Value1 { get; set; }
Property Value:

The first value.

Gets or sets the second value.

C#
public string Value2 { get; set; }
Property Value:

The second value.