IFrameAware Interface |
Namespace: Cauldron.XAML.ViewModels
public interface IFrameAware : ICloseAwareViewModel, IViewModel, INotifyPropertyChanged, INotifyBehaviourInvocation
The IFrameAware type exposes the following members.
Name | Description | |
---|---|---|
Dispatcher |
Gets the Dispatcher this IDispatcher is associated with.
(Inherited from IViewModel.) | |
Id |
Gets the unique Id of the view model
(Inherited from IViewModel.) | |
IsLoading |
Gets or sets a value that indicates if the viewmodel is loading
(Inherited from IViewModel.) |
Name | Description | |
---|---|---|
Activated |
Occures if the page or window is activated
| |
CanClose |
Occures if the window is closing. Returning a false will prevent the window from closing.
(Inherited from ICloseAwareViewModel.) | |
Close |
Occures if the control requests a closing. The viewmodel has to react to the requst by
for example removing the tab from the ObservableCollectionT.
(Inherited from ICloseAwareViewModel.) | |
Deactivated |
Occures if the page or window is deactivated
| |
OnException |
Centralized error handling
(Inherited from IViewModel.) | |
RaiseNotifyBehaviourInvoke |
Invokes the BehaviourInvoke event
(Inherited from IViewModel.) | |
RaisePropertyChanged |
Invokes the PropertyChanged event
(Inherited from IViewModel.) |
Name | Description | |
---|---|---|
BehaviourInvoke |
Occures if a behaviour should be invoked
(Inherited from INotifyBehaviourInvocation.) | |
IsLoadingChanged |
Occures if the IsLoading property has changed.
(Inherited from IViewModel.) |
Name | Description | |
---|---|---|
Run |
Handles neccessary setting of the IsLoading flag if implemented and the error handling
(Defined by Extensions.) | |
RunAsync |
Handles neccessary setting of the IsLoading flag and the error handling
(Defined by Extensions.) | |
RunDispatcherAsync |
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.) |