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

Represents the view model of the top filter dialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class TopFilterDialogViewModel : DialogViewModelBase<TopFilterDialogContext>

Inheritance: objectDialogViewModelBase<TopFilterDialogContext>TopFilterDialogViewModel

Inherited Members DialogViewModelBase<TopFilterDialogContext>.Context

Constructors

Initializes a new instance of the TopFilterDialogViewModel class.

C#
public TopFilterDialogViewModel(TopFilterDialogContext context, Action closeDialogAction)
Parameters:contextTopFilterDialogContext

The context.

closeDialogActionAction

The close dialog action.

Properties

Gets the cancel command.

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

The cancel command.

Gets the dialog header.

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

The dialog header.

Gets the items items / percent items source.

C#
public IEnumerable<ItemsPercentFilterType> ItemsPercentItemsSource { get; }
Property Value:

The items items / percent items source.

Gets the OK command.

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

The OK command.

Gets or sets the selected items / percent choice.

C#
public ItemsPercentFilterType SelectedItemsPercent { get; set; }
Property Value:

The selected items / percent choice.

Gets or sets the selected top / bottom item.

C#
public TopBottomFilterType SelectedTopBottom { get; set; }
Property Value:

The selected top / bottom item.

Gets or sets the selected value.

C#
public int SelectedValue { get; set; }
Property Value:

The selected value.

Gets the top / bottom items source.

C#
public IEnumerable<TopBottomFilterType> TopBottomItemsSource { get; }
Property Value:

The top / bottom items source.