Свойство | Type | Description | |
---|---|---|---|
InvokeCloseDynamically | void |
Méthode | Description | |
---|---|---|
OnTargetViewUnloadedAsync ( object sender, |
Called when LogicBase.TargetView has just been unloaded.
|
|
OnTargetWindowClosed ( ) : void |
Called when the TargetWindow has been closed. Public to allow the generated ILGenerator to access this method. |
|
OnViewModelClosedAsync ( object sender, ViewModelClosedEventArgs e ) : System.Threading.Tasks.Task |
Called when the LogicBase.ViewModel is closed.
|
|
WindowLogic ( IView targetWindow, |
Initializes a new instance of the WindowLogic class.
|
Méthode | Description | |
---|---|---|
SetDataContext ( object newDataContext ) : void |
Sets the data context of the target control.
|
Méthode | Description | |
---|---|---|
InvokeCloseDynamically ( ) : void |
Invokes the close method on the window dynamically.
|
public OnTargetViewUnloadedAsync ( object sender, |
||
sender | object | The sender. |
e | The |
|
Résultat | System.Threading.Tasks.Task |
public OnViewModelClosedAsync ( object sender, ViewModelClosedEventArgs e ) : System.Threading.Tasks.Task | ||
sender | object | The sender. |
e | ViewModelClosedEventArgs | The |
Résultat | System.Threading.Tasks.Task |
protected SetDataContext ( object newDataContext ) : void | ||
newDataContext | object | The new data context. |
Résultat | void |
public WindowLogic ( IView targetWindow, |
||
targetWindow | IView | The window this provider should take care of. |
viewModelType | Type of the view model. | |
viewModel | IViewModel | The view model to inject. |
Résultat | System |