Class ContentDialogContextViewModelBase
Implements a base view-model for contents dialogs models.
Inheritance
ContentDialogContextViewModelBase
Implements
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ContentDialogContextViewModelBase : ViewModelBase, INotifyPropertyChanged, INotifyDataErrorInfo, INotifyDataPropertyChanged, IActiveAware, IClosingAware, IBusyAware, IContentDialogContext, IDialogContext, IDataErrorInfo
Constructors
View SourceContentDialogContextViewModelBase()
Initialize a new instance of ContentDialogContextViewModelBase.
Declaration
public ContentDialogContextViewModelBase()
Properties
View SourceFirstButtonCaption
Interface for ContentDialog data context
Declaration
public string FirstButtonCaption { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FirstCommand
Interface for ContentDialog data context
Declaration
public ICommand FirstCommand { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ICommand |
Info
Interface for ContentDialog data context
Declaration
public string Info { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parent
Interface for ContentDialog data context
Declaration
public Window Parent { get; set; }
Property Value
| Type | Description |
|---|---|
| Window |
SecondButtonCaption
Interface for ContentDialog data context
Declaration
public string SecondButtonCaption { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SecondCommand
Interface for ContentDialog data context
Declaration
public ICommand SecondCommand { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ICommand |
ShowHelpCommand
Interface for ContentDialog data context
Declaration
public ICommand ShowHelpCommand { get; }
Property Value
| Type | Description |
|---|---|
| ICommand |
ThirdButtonCaption
Interface for ContentDialog data context
Declaration
public string ThirdButtonCaption { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ThirdCommand
Interface for ContentDialog data context
Declaration
public ICommand ThirdCommand { get; protected set; }
Property Value
| Type | Description |
|---|---|
| ICommand |
Methods
View SourceRaiseCloseDialog()
Close the dialog.
Declaration
protected void RaiseCloseDialog()
Events
View SourceCloseDialog
Interface for ContentDialog data context
Declaration
public event EventHandler CloseDialog
Event Type
| Type | Description |
|---|---|
| EventHandler |