ClassTopFilterDialogViewModel
Represents the view model of the top filter dialog.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class TopFilterDialogViewModel : DialogViewModelBase<TopFilterDialogContext>
Inheritance: objectDialogViewModelBase<TopFilterDialogContext>TopFilterDialogViewModel
Inherited Members
Constructors
TopFilterDialogViewModel(TopFilterDialogContext, Action)
Initializes a new instance of the TopFilterDialogViewModel class.
Declaration
public TopFilterDialogViewModel(TopFilterDialogContext context, Action closeDialogAction)
Parameters
context
The context.
closeDialogAction
The close dialog action.
Properties
CancelCommand
Gets the cancel command.
Declaration
public ICommand CancelCommand { get; }
Property Value
The cancel command.
DialogHeader
Gets the dialog header.
Declaration
public string DialogHeader { get; }
Property Value
The dialog header.
ItemsPercentItemsSource
Gets the items items / percent items source.
Declaration
public IEnumerable<ItemsPercentFilterType> ItemsPercentItemsSource { get; }
Property Value
IEnumerable<ItemsPercentFilterType>
The items items / percent items source.
OKCommand
Gets the OK command.
Declaration
public ICommand OKCommand { get; }
Property Value
The OK command.
SelectedItemsPercent
Gets or sets the selected items / percent choice.
Declaration
public ItemsPercentFilterType SelectedItemsPercent { get; set; }
Property Value
The selected items / percent choice.
SelectedTopBottom
Gets or sets the selected top / bottom item.
Declaration
public TopBottomFilterType SelectedTopBottom { get; set; }
Property Value
The selected top / bottom item.
SelectedValue
Gets or sets the selected value.
Declaration
public int SelectedValue { get; set; }
Property Value
The selected value.
TopBottomItemsSource
Gets the top / bottom items source.
Declaration
public IEnumerable<TopBottomFilterType> TopBottomItemsSource { get; }
Property Value
IEnumerable<TopBottomFilterType>
The top / bottom items source.