C# 클래스 Open.Core.UI.Controls.AcceptCancelDialogViewModel

The logical presentation model for the 'AcceptCancelDialog' view.
상속: ViewModelBase, IAcceptCancelDialog
파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL 1 사용 예제들

공개 메소드들

메소드 설명
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, EventArgs e ) : void
HandleCancelClick ( object sender, EventArgs e ) : void
OnAcceptClick ( ) : void
OnCancelClick ( ) : void
WireEvents ( IAcceptCancelPresenter presenter, bool add ) : void

메소드 상세

AcceptCancelDialogViewModel() 공개 메소드

Constructor.
public AcceptCancelDialogViewModel ( ) : System
리턴 System

AcceptCancelDialogViewModel() 공개 메소드

Constructor.
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

OnDisposed() 보호된 메소드

protected OnDisposed ( ) : void
리턴 void

Reset() 공개 메소드

Resets the OK/Cancel labels to their default values and ensure both button are visible.
public Reset ( ) : void
리턴 void