IChangeAwareViewModel Interface |
Namespace: Cauldron.XAML.ViewModels
public interface IChangeAwareViewModel : IViewModel, INotifyPropertyChanged, INotifyBehaviourInvocation
The IChangeAwareViewModel 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.) | |
| IsChanged |
Gets or sets a value that indicates if any property value has been changed
| |
| IsLoading |
Gets or sets a value that indicates if the viewmodel is loading
(Inherited from IViewModel.) |
| Name | Description | |
|---|---|---|
| OnException |
Centralized error handling
(Inherited from IViewModel.) | |
| RaiseNotifyBehaviourInvoke |
Invokes the BehaviourInvoke event
(Inherited from IViewModel.) | |
| RaisePropertyChanged(String) |
Invokes the PropertyChanged event
(Inherited from IViewModel.) | |
| RaisePropertyChanged(String, Object, Object) |
Invokes the PropertyChanged event
|
| Name | Description | |
|---|---|---|
| BehaviourInvoke |
Occures if a behaviour should be invoked
(Inherited from INotifyBehaviourInvocation.) | |
| Changed |
Occures when a value has changed
| |
| IsChangedChanged |
Occures if the IsChanged property has changed.
| |
| 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.) |