메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
OnDisposed ( ) : void |
메소드 | 설명 | |
---|---|---|
HandleAcceptClick ( object sender, |
||
HandleCancelClick ( object sender, |
||
OnAcceptClick ( ) : void | ||
OnCancelClick ( ) : void | ||
WireEvents ( IAcceptCancelPresenter presenter, bool add ) : void |
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). |
리턴 | System |