Method | Description | |
---|---|---|
AcceptCancelDialogViewModel ( ) : System |
Constructor.
|
|
AcceptCancelDialogViewModel ( System.Windows.DataTemplate contentTemplate, INotifyPropertyChanged contentViewModel ) : System |
Constructor.
|
|
Reset ( ) : void |
Resets the OK/Cancel labels to their default values and ensure both button are visible.
|
Method | Description | |
---|---|---|
OnDisposed ( ) : void |
Method | Description | |
---|---|---|
HandleAcceptClick ( object sender, |
||
HandleCancelClick ( object sender, |
||
OnAcceptClick ( ) : void | ||
OnCancelClick ( ) : void | ||
WireEvents ( IAcceptCancelPresenter presenter, bool add ) : void |
public AcceptCancelDialogViewModel ( ) : System | ||
return | System |
public AcceptCancelDialogViewModel ( System.Windows.DataTemplate contentTemplate, INotifyPropertyChanged contentViewModel ) : System | ||
contentTemplate | System.Windows.DataTemplate | The XAML template of the dialog content (see 'Content' property). |
contentViewModel | INotifyPropertyChanged | The view-model for the content (see 'Content' property). |
return | System |