Property | Type | Description | |
---|---|---|---|
InvokeCloseDynamically | void |
Method | 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.
|
Method | Description | |
---|---|---|
SetDataContext ( object newDataContext ) : void |
Sets the data context of the target control.
|
Method | Description | |
---|---|---|
InvokeCloseDynamically ( ) : void |
Invokes the close method on the window dynamically.
|
public OnTargetViewUnloadedAsync ( object sender, |
||
sender | object | The sender. |
e | The |
|
return | System.Threading.Tasks.Task |
public OnViewModelClosedAsync ( object sender, ViewModelClosedEventArgs e ) : System.Threading.Tasks.Task | ||
sender | object | The sender. |
e | ViewModelClosedEventArgs | The |
return | System.Threading.Tasks.Task |
protected SetDataContext ( object newDataContext ) : void | ||
newDataContext | object | The new data context. |
return | 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. |
return | System |