New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class MessageDialogViewModelBase<TContext> : DialogViewModelBase<TContext> where TContext : MessageDialogContextBase

Inheritance: objectDialogViewModelBase<TContext>MessageDialogViewModelBase<TContext>

Derived Classes: AlertDialogViewModelConfirmDialogViewModelInformationDialogViewModelStopDialogViewModelWarningDialogViewModel

Inherited Members DialogViewModelBase<TContext>.Context

Constructors

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

C#
protected MessageDialogViewModelBase(TContext context, Action closeDialogAction)
Parameters:contextTContext

The context.

closeDialogActionAction

The close dialog action.

Properties

Gets the cancel command.

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

The cancel command.

Gets the content.

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

The content.

Gets the ok command.

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

The ok command.