Show / Hide Table of Contents

Class ContentDialogContextViewModelBase

Implements a base view-model for contents dialogs models.

Inheritance
object
ObservableObject
ChangeTrackingObject
ViewModelBase
ContentDialogContextViewModelBase
ContentDialogContextViewModelBase<T>
ExceptionViewerDialogViewModel
Implements
INotifyPropertyChanged
INotifyDataErrorInfo
INotifyDataPropertyChanged
IActiveAware
IClosingAware
IBusyAware
IContentDialogContext
IDialogContext
IDataErrorInfo
ViewModelBase.IsActiveChanged
ViewModelBase.IsBusyChanged
ViewModelBase.IsActive
ViewModelBase.IsBusy
ViewModelBase.OnClosing()
ViewModelBase.RaiseIsActiveChanged(EventArgs)
ViewModelBase.RaiseIsBusyChanged()
ViewModelBase.SetCommandsStates(bool)
ChangeTrackingObject.HasChanges
ChangeTrackingObject.Cascade()
ChangeTrackingObject.CascadeChanges()
ChangeTrackingObject.OnDataPropertyChanged(string)
ChangeTrackingObject.SetValue<T>(string, ref 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, ref T, T)
ObservableObject.SetValue<T>(string, ref T, T, IEqualityComparer<T>)
ObservableObject.SetValue<T>(string, ref T, T, Action<T>, Action<T>)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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 data context

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

FirstCommand

Interface for ContentDialog data context

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

Info

Interface for ContentDialog data context

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

Parent

Interface for ContentDialog data context

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

SecondButtonCaption

Interface for ContentDialog data context

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

SecondCommand

Interface for ContentDialog data context

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

ShowHelpCommand

Interface for ContentDialog data context

Declaration
public ICommand ShowHelpCommand { get; }
Property Value
Type Description
ICommand
View Source

ThirdButtonCaption

Interface for ContentDialog data context

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

ThirdCommand

Interface for ContentDialog data context

Declaration
public ICommand ThirdCommand { get; protected set; }
Property Value
Type Description
ICommand

Methods

View Source

RaiseCloseDialog()

Close the dialog.

Declaration
protected void RaiseCloseDialog()

Events

View Source

CloseDialog

Interface for ContentDialog data context

Declaration
public event EventHandler CloseDialog
Event Type
Type Description
EventHandler

Implements

INotifyPropertyChanged
INotifyDataErrorInfo
INotifyDataPropertyChanged
IActiveAware
IClosingAware
IBusyAware
IContentDialogContext
IDialogContext
IDataErrorInfo

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
NotifyPropertyChangedExtensions.GetPropertyName<T>(INotifyPropertyChanged, Expression<Func<T>>)
NotifyPropertyChangedExtensions.RaisePropertyChanged(INotifyPropertyChanged, string)
NotifyPropertyChangedExtensions.RaisePropertyChanged<T>(INotifyPropertyChanged, Expression<Func<T>>)
PropertyHelper.RaisePropertyChanged<T>(INotifyPropertyChanged, Expression<Func<T>>, PropertyChangedEventHandler)
  • View Source
Back to top Generated by DocFX