Class
HeaderFooterDialogViewModel

Represents the HeaderFooter dialog view model.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class HeaderFooterDialogViewModel : DialogViewModelBase<HeaderFooterDialogContext>

Inheritance: objectDialogViewModelBase<HeaderFooterDialogContext>HeaderFooterDialogViewModel

Inherited Members DialogViewModelBase<HeaderFooterDialogContext>.Context

Constructors

HeaderFooterDialogViewModel(HeaderFooterDialogContext, Action<bool>, Action<MessageBoxNotificationType>)

Initializes a new instance of the HeaderFooterDialogViewModel class.

Declaration

cs-api-definition
public HeaderFooterDialogViewModel(HeaderFooterDialogContext context, Action<bool> closeAction, Action<MessageBoxNotificationType> alertAction)

Parameters

context

HeaderFooterDialogContext

The context.

closeAction

Action<bool>

The close action.

alertAction

Action<MessageBoxNotificationType>

The alert action.

Properties

CloseCommand

Gets or sets the close command.

Declaration

cs-api-definition
public ICommand CloseCommand { get; set; }

Property Value

ICommand

The close command.

DefaultContent

Gets the default content tab view model.

Declaration

cs-api-definition
public HeaderFooterDialogTabViewModel DefaultContent { get; }

Property Value

HeaderFooterDialogTabViewModel

The default content tab view model.

DialogHeader

Gets the dialog header.

Declaration

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

Property Value

string

The dialog header.

EvenPageContent

Gets the even page content tab view model.

Declaration

cs-api-definition
public HeaderFooterDialogTabViewModel EvenPageContent { get; }

Property Value

HeaderFooterDialogTabViewModel

The even page content tab view model.

FirstPageContent

Gets the first page content tab view model.

Declaration

cs-api-definition
public HeaderFooterDialogTabViewModel FirstPageContent { get; }

Property Value

HeaderFooterDialogTabViewModel

The first page content tab view model.

OKCommand

Gets or sets the ok command.

Declaration

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

Property Value

ICommand

The ok command.