Daniel's XL Toolbox NG
Bovender.Mvvm.Actions.ShowViewDialogAction Class Reference

Injects a view with a view model that is referenced in a ViewModelMessageContent, and shows the view modally. More...

Inheritance diagram for Bovender.Mvvm.Actions.ShowViewDialogAction:
Collaboration diagram for Bovender.Mvvm.Actions.ShowViewDialogAction:

Protected Member Functions

override void ShowView (Window view)
 Shows the view as a modal dialog. Override this to do something else with the view. More...
 
override void ShowView (Window view)
 Shows the view as a modal dialog. Override this to do something else with the view. More...
 
- Protected Member Functions inherited from Bovender.Mvvm.Actions.ShowViewAction
override Window CreateView ()
 Returns a view that can bind to expected message contents. More...
 
override Window CreateView ()
 Returns a view that can bind to expected message contents. More...
 
- Protected Member Functions inherited from Bovender.Mvvm.Actions.MessageActionBase
override void Invoke (object parameter)
 Creates a view that has its dependent view model injected into it. More...
 
void Invoke< T > (T messageContent, Action respond)
 
override void Invoke (object parameter)
 Creates a view that has its dependent view model injected into it. More...
 
void Invoke< T > (T messageContent, Action respond)
 

Additional Inherited Members

- Properties inherited from Bovender.Mvvm.Actions.ShowViewAction
string Assembly [get, set]
 
string View [get, set]
 
- Properties inherited from Bovender.Mvvm.Actions.MessageActionBase
string Caption [get, set]
 
string Message [get, set]
 
MessageContent Content [get, protected set]
 

Detailed Description

Injects a view with a view model that is referenced in a ViewModelMessageContent, and shows the view modally.

Member Function Documentation

◆ ShowView() [1/2]

override void Bovender.Mvvm.Actions.ShowViewDialogAction.ShowView ( Window  view)
inlineprotectedvirtual

Shows the view as a modal dialog. Override this to do something else with the view.

Parameters
viewWindow object previously created by CreateView.

This method is called internally by the Invoke method.

Reimplemented from Bovender.Mvvm.Actions.ShowViewAction.

◆ ShowView() [2/2]

override void Bovender.Mvvm.Actions.ShowViewDialogAction.ShowView ( Window  view)
inlineprotectedvirtual

Shows the view as a modal dialog. Override this to do something else with the view.

Parameters
viewWindow object previously created by CreateView.

This method is called internally by the Invoke method.

Reimplemented from Bovender.Mvvm.Actions.ShowViewAction.


The documentation for this class was generated from the following file: