Show / Hide Table of Contents

Class ContentDialogContextViewModelBase

Implements a base view-model for contents dialogs models.

Inheritance
System.Object
ObservableObject
ChangeTrackingObject
ViewModelBase
ContentDialogContextViewModelBase
ContentDialogContextViewModelBase<T>
ExceptionViewerDialogViewModel
Implements
System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.INotifyDataErrorInfo
INotifyDataPropertyChanged
IActiveAware
IClosingAware
IBusyAware
IContentDialogContext
IDialogContext
System.ComponentModel.IDataErrorInfo
ViewModelBase.IsActiveChanged
ViewModelBase.IsBusyChanged
ViewModelBase.IsActive
ViewModelBase.IsBusy
ViewModelBase.OnClosing()
ViewModelBase.RaiseIsActiveChanged(EventArgs)
ViewModelBase.RaiseIsBusyChanged()
ViewModelBase.SetCommandsStates(Boolean)
ChangeTrackingObject.HasChanges
ChangeTrackingObject.Cascade()
ChangeTrackingObject.CascadeChanges()
ChangeTrackingObject.OnDataPropertyChanged(String)
ChangeTrackingObject.SetValue<T>(String, T, T, Action<T>, Action<T>, IEqualityComparer<T>)
ChangeTrackingObject.AcceptChanges()
ObservableObject.PropertyChanged
ObservableObject.HasErrors
ObservableObject.AddError(IError)
ObservableObject.CascadeErrors()
ObservableObject.ClearErrors()
ObservableObject.ForceValidation<T>(String, T)
ObservableObject.GetEntityErrors()
ObservableObject.GetErrors(String)
ObservableObject.OnErrorsChanged(String)
ObservableObject.OnPropertyChanged(String)
ObservableObject.OnValidate(String)
ObservableObject.RemoveError(Guid)
ObservableObject.RemoveError(IError)
ObservableObject.SetValue<T>(String, T, T)
ObservableObject.SetValue<T>(String, T, T, IEqualityComparer<T>)
ObservableObject.SetValue<T>(String, T, T, Action<T>, Action<T>)
ObservableObject.INotifyDataPropertyChanged.DataPropertyChanged
ObservableObject.INotifyDataErrorInfo.ErrorsChanged
ObservableObject.IDataErrorInfo.Error
ObservableObject.INotifyDataErrorInfo.HasErrors
ObservableObject.INotifyDataErrorInfo.GetErrors(String)
ObservableObject.IDataErrorInfo.Item[String]
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 Source

ContentDialogContextViewModelBase()

Initialize a new instance of ContentDialogContextViewModelBase.

Declaration
public ContentDialogContextViewModelBase()

Properties

View Source

FirstButtonCaption

Interface for ContentDialog datacontext

Declaration
public string FirstButtonCaption { get; set; }
Property Value
Type Description
System.String
View Source

FirstCommand

Interface for ContentDialog datacontext

Declaration
public ICommand FirstCommand { get; protected set; }
Property Value
Type Description
System.Windows.Input.ICommand
View Source

Info

Interface for ContentDialog datacontext

Declaration
public string Info { get; set; }
Property Value
Type Description
System.String
View Source

Parent

Interface for ContentDialog datacontext

Declaration
public Window Parent { get; set; }
Property Value
Type Description
System.Windows.Window
View Source

SecondButtonCaption

Interface for ContentDialog datacontext

Declaration
public string SecondButtonCaption { get; set; }
Property Value
Type Description
System.String
View Source

SecondCommand

Interface for ContentDialog datacontext

Declaration
public ICommand SecondCommand { get; protected set; }
Property Value
Type Description
System.Windows.Input.ICommand
View Source

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.

View Source

ThirdButtonCaption

Interface for ContentDialog datacontext

Declaration
public string ThirdButtonCaption { get; set; }
Property Value
Type Description
System.String
View Source

ThirdCommand

Interface for ContentDialog datacontext

Declaration
public ICommand ThirdCommand { get; protected set; }
Property Value
Type Description
System.Windows.Input.ICommand

Methods

View Source

RaiseCloseDialog()

Close the dialog.

Declaration
protected void RaiseCloseDialog()

Events

View Source

CloseDialog

Interface for ContentDialog datacontext

Declaration
public event EventHandler CloseDialog
Event Type
Type Description
System.EventHandler

Implements

System.ComponentModel.INotifyPropertyChanged
System.ComponentModel.INotifyDataErrorInfo
INotifyDataPropertyChanged
IActiveAware
IClosingAware
IBusyAware
IContentDialogContext
IDialogContext
System.ComponentModel.IDataErrorInfo

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX