Class MessageDialogViewModelBase<TContext>
Represents a view model for the
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Dialogs
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public abstract class MessageDialogViewModelBase<TContext> : DialogViewModelBase<TContext> where TContext : MessageDialogContextBase
Type Parameters
TContext
The type of the T context. |
Constructors
MessageDialogViewModelBase(TContext, Action)
Initializes a new instance of the MessageDialogViewModelBase(TContext, Action) class.
Declaration
protected MessageDialogViewModelBase(TContext context, Action closeDialogAction)
Parameters
TContext
context
The context. |
System.Action
closeDialogAction
The close dialog action. |
Properties
CancelCommand
Gets the cancel command.
Declaration
public ICommand CancelCommand { get; }
Property Value
System.Windows.Input.ICommand
The cancel command. |
Content
Gets the content.
Declaration
public string Content { get; }
Property Value
System.String
The content. |
OkCommand
Gets the ok command.
Declaration
public ICommand OkCommand { get; }
Property Value
System.Windows.Input.ICommand
The ok command. |