IViewAware Interface |
Namespace: Cauldron.XAML.ViewModels
public interface IViewAware : IViewModel, INotifyPropertyChanged, INotifyBehaviourInvocation
The IViewAware 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 | |
---|---|---|
OnAssignToDataContext |
Occures after the viewmodel is assigned to the DataContext.
| |
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.) |