Class
TopFilterDialogViewModel

Represents the view model of the top filter dialog.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class TopFilterDialogViewModel : DialogViewModelBase<TopFilterDialogContext>

Inheritance: objectDialogViewModelBase<TopFilterDialogContext>TopFilterDialogViewModel

Inherited Members DialogViewModelBase<TopFilterDialogContext>.Context

Constructors

TopFilterDialogViewModel(TopFilterDialogContext, Action)

Initializes a new instance of the TopFilterDialogViewModel class.

Declaration

cs-api-definition
public TopFilterDialogViewModel(TopFilterDialogContext context, Action closeDialogAction)

Parameters

context

TopFilterDialogContext

The context.

closeDialogAction

Action

The close dialog action.

Properties

CancelCommand

Gets the cancel command.

Declaration

cs-api-definition
public ICommand CancelCommand { get; }

Property Value

ICommand

The cancel command.

DialogHeader

Gets the dialog header.

Declaration

cs-api-definition
public string DialogHeader { get; }

Property Value

string

The dialog header.

ItemsPercentItemsSource

Gets the items items / percent items source.

Declaration

cs-api-definition
public IEnumerable<ItemsPercentFilterType> ItemsPercentItemsSource { get; }

Property Value

IEnumerable<ItemsPercentFilterType>

The items items / percent items source.

OKCommand

Gets the OK command.

Declaration

cs-api-definition
public ICommand OKCommand { get; }

Property Value

ICommand

The OK command.

SelectedItemsPercent

Gets or sets the selected items / percent choice.

Declaration

cs-api-definition
public ItemsPercentFilterType SelectedItemsPercent { get; set; }

Property Value

ItemsPercentFilterType

The selected items / percent choice.

SelectedTopBottom

Gets or sets the selected top / bottom item.

Declaration

cs-api-definition
public TopBottomFilterType SelectedTopBottom { get; set; }

Property Value

TopBottomFilterType

The selected top / bottom item.

SelectedValue

Gets or sets the selected value.

Declaration

cs-api-definition
public int SelectedValue { get; set; }

Property Value

int

The selected value.

TopBottomItemsSource

Gets the top / bottom items source.

Declaration

cs-api-definition
public IEnumerable<TopBottomFilterType> TopBottomItemsSource { get; }

Property Value

IEnumerable<TopBottomFilterType>

The top / bottom items source.