Class
MessageDialogViewModelBase<TContext>

Represents a view model for the

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Dialogs

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Type Parameters:

TContext

The type of the T context.

Syntax:

cs-api-definition
public abstract class MessageDialogViewModelBase<TContext> : DialogViewModelBase<TContext> where TContext : MessageDialogContextBase

Inheritance: objectDialogViewModelBase<TContext>MessageDialogViewModelBase<TContext>

Derived Classes: AlertDialogViewModelConfirmDialogViewModelInformationDialogViewModelStopDialogViewModelWarningDialogViewModel

Inherited Members DialogViewModelBase<TContext>.Context

Constructors

MessageDialogViewModelBase(TContext, Action)

Initializes a new instance of the MessageDialogViewModelBase(TContext, Action) class.

Declaration

cs-api-definition
protected MessageDialogViewModelBase(TContext context, Action closeDialogAction)

Parameters

context

TContext

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.

Content

Gets the content.

Declaration

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

Property Value

string

The content.

OkCommand

Gets the ok command.

Declaration

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

Property Value

ICommand

The ok command.