C# 클래스 Orchestra.Windows.SimpleDataWindow

상속: MahApps.Metro.Controls.Dialogs.CustomDialog, IDataWindow
파일 보기 프로젝트 열기: WildGums/Orchestra

공개 메소드들

메소드 설명
Close ( ) : void
OnApplyTemplate ( ) : void

보호된 메소드들

메소드 설명
AddCustomButton ( DataWindowButton dataWindowButton ) : void

Adds a custom button to the list of buttons.

ApplyChangesAsync ( ) : Task

Applies all changes made by this window.

DiscardChangesAsync ( ) : Task

Discards all changes made by this window.

ExecuteApply ( ) : void

Executes the Apply command.

ExecuteCancelAsync ( ) : System.Threading.Tasks.Task

Executes the Cancel command.

ExecuteClose ( ) : void

Executes the Close command.

ExecuteOkAsync ( ) : System.Threading.Tasks.Task

Executes the Ok command.

OnApplyCanExecute ( ) : bool

Determines whether the user can execute the Apply command.

OnApplyExecute ( ) : void

Handled when the user invokes the Apply command.

OnCancelCanExecute ( ) : bool

Determines whether the user can execute the Cancel command.

OnCancelExecuteAsync ( ) : System.Threading.Tasks.Task

Handled when the user invokes the Cancel command.

OnCloseExecute ( ) : void

Handled when the user invokes the Close command.

OnOkCanExecute ( ) : bool

Determines whether the user can execute the Ok command.

OnOkExecuteAsync ( ) : System.Threading.Tasks.Task

Handled when the user invokes the Ok command.

SimpleDataWindow ( ) : System

Initializes a new instance of the SimpleDataWindow class.

SimpleDataWindow ( DataWindowMode dataWindowMode ) : System

Initializes a new instance of the SimpleDataWindow class.

SimpleDataWindow ( IViewModel viewModel, DataWindowMode mode = DataWindowMode.OkCancel, IEnumerable additionalButtons = null ) : System

Initializes a new instance of the SimpleDataWindow class.

ValidateData ( ) : bool

Validates the data.

비공개 메소드들

메소드 설명
OnViewModelChanged ( ) : void
ViewModelClosedAsync ( object sender, Catel.MVVM.ViewModelClosedEventArgs e ) : System.Threading.Tasks.Task

메소드 상세

AddCustomButton() 보호된 메소드

Adds a custom button to the list of buttons.
The is added when the window is already loaded.
protected AddCustomButton ( DataWindowButton dataWindowButton ) : void
dataWindowButton Catel.Windows.DataWindowButton The data window button.
리턴 void

ApplyChangesAsync() 보호된 메소드

Applies all changes made by this window.
protected ApplyChangesAsync ( ) : Task
리턴 Task

Close() 공개 메소드

public Close ( ) : void
리턴 void

DiscardChangesAsync() 보호된 메소드

Discards all changes made by this window.
protected DiscardChangesAsync ( ) : Task
리턴 Task

ExecuteApply() 보호된 메소드

Executes the Apply command.
protected ExecuteApply ( ) : void
리턴 void

ExecuteCancelAsync() 보호된 메소드

Executes the Cancel command.
protected ExecuteCancelAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

ExecuteClose() 보호된 메소드

Executes the Close command.
protected ExecuteClose ( ) : void
리턴 void

ExecuteOkAsync() 보호된 메소드

Executes the Ok command.
protected ExecuteOkAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnApplyCanExecute() 보호된 메소드

Determines whether the user can execute the Apply command.
protected OnApplyCanExecute ( ) : bool
리턴 bool

OnApplyExecute() 보호된 메소드

Handled when the user invokes the Apply command.
protected OnApplyExecute ( ) : void
리턴 void

OnApplyTemplate() 공개 메소드

public OnApplyTemplate ( ) : void
리턴 void

OnCancelCanExecute() 보호된 메소드

Determines whether the user can execute the Cancel command.
protected OnCancelCanExecute ( ) : bool
리턴 bool

OnCancelExecuteAsync() 보호된 메소드

Handled when the user invokes the Cancel command.
protected OnCancelExecuteAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

OnCloseExecute() 보호된 메소드

Handled when the user invokes the Close command.
protected OnCloseExecute ( ) : void
리턴 void

OnOkCanExecute() 보호된 메소드

Determines whether the user can execute the Ok command.
protected OnOkCanExecute ( ) : bool
리턴 bool

OnOkExecuteAsync() 보호된 메소드

Handled when the user invokes the Ok command.
protected OnOkExecuteAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

SimpleDataWindow() 보호된 메소드

Initializes a new instance of the SimpleDataWindow class.
protected SimpleDataWindow ( ) : System
리턴 System

SimpleDataWindow() 보호된 메소드

Initializes a new instance of the SimpleDataWindow class.
protected SimpleDataWindow ( DataWindowMode dataWindowMode ) : System
dataWindowMode DataWindowMode
리턴 System

SimpleDataWindow() 보호된 메소드

Initializes a new instance of the SimpleDataWindow class.
protected SimpleDataWindow ( IViewModel viewModel, DataWindowMode mode = DataWindowMode.OkCancel, IEnumerable additionalButtons = null ) : System
viewModel IViewModel The view model.
mode DataWindowMode The data window mode.
additionalButtons IEnumerable The additional buttons.
리턴 System

ValidateData() 보호된 메소드

Validates the data.
protected ValidateData ( ) : bool
리턴 bool