Click or drag to resize

ICloseAwareViewModel Methods

The ICloseAwareViewModel type exposes the following members.

Methods
  NameDescription
Public methodCanClose
Occures if the window is closing. Returning a false will prevent the window from closing.
Public methodClose
Occures if the control requests a closing. The viewmodel has to react to the requst by for example removing the tab from the ObservableCollectionT.
Public methodOnException
Centralized error handling
(Inherited from IViewModel.)
Public methodRaiseNotifyBehaviourInvoke
Invokes the BehaviourInvoke event
(Inherited from IViewModel.)
Public methodRaisePropertyChanged
Invokes the PropertyChanged event
(Inherited from IViewModel.)
Top
Extension Methods
  NameDescription
Public Extension MethodRun
Handles neccessary setting of the IsLoading flag if implemented and the error handling
(Defined by Extensions.)
Public Extension MethodRunAsync
Handles neccessary setting of the IsLoading flag and the error handling
(Defined by Extensions.)
Public Extension MethodRunDispatcherAsync
Runs the action asyncronously using the Dispatcher on the lowest priority. Handles neccessary setting of the IsLoading flag and the error handling.
(Defined by Extensions.)
Top
See Also