Class ContentDialogContextViewModelBase
Implements a base view-model for contents dialogs models.
Inheritance
System.Object
ContentDialogContextViewModelBase
Implements
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.INotifyDataErrorInfo
System.ComponentModel.IDataErrorInfo
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 datacontext
Declaration
public string FirstButtonCaption { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FirstCommand
Interface for ContentDialog datacontext
Declaration
public ICommand FirstCommand { get; protected set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Info
Interface for ContentDialog datacontext
Declaration
public string Info { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Parent
Interface for ContentDialog datacontext
Declaration
public Window Parent { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Window |
SecondButtonCaption
Interface for ContentDialog datacontext
Declaration
public string SecondButtonCaption { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SecondCommand
Interface for ContentDialog datacontext
Declaration
public ICommand SecondCommand { get; protected set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
ShowHelpCommand
Interface for ContentDialog datacontext
Declaration
public ICommand ShowHelpCommand { get; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Remarks
Null indicates that no help is available.
ThirdButtonCaption
Interface for ContentDialog datacontext
Declaration
public string ThirdButtonCaption { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ThirdCommand
Interface for ContentDialog datacontext
Declaration
public ICommand ThirdCommand { get; protected set; }
Property Value
Type | Description |
---|---|
System.Windows.Input.ICommand |
Methods
View SourceRaiseCloseDialog()
Close the dialog.
Declaration
protected void RaiseCloseDialog()
Events
View SourceCloseDialog
Interface for ContentDialog datacontext
Declaration
public event EventHandler CloseDialog
Event Type
Type | Description |
---|---|
System.EventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.INotifyDataErrorInfo
System.ComponentModel.IDataErrorInfo