Click or drag to resize

IValidatableViewModel Interface

Represents a viewmodel that is able to validate property values

Namespace:  Cauldron.XAML.ViewModels
Assembly:  Cauldron.Win32.WPF (in Cauldron.Win32.WPF.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax

The IValidatableViewModel type exposes the following members.

Properties
  NameDescription
Public propertyDispatcher
Gets the Dispatcher this IDispatcher is associated with.
(Inherited from IViewModel.)
Public propertyId
Gets the unique Id of the view model
(Inherited from IViewModel.)
Public propertyIsDisposed
Gets a value indicating if the object has been disposed or not
(Inherited from IDisposableObject.)
Public propertyIsLoading
Gets or sets a value that indicates if the viewmodel is loading
(Inherited from IViewModel.)
Public propertyIsValidating
Gets a value that indicates that the properties are currently being validated.
Top
Methods
  NameDescription
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.)
Public methodValidateAsync
Starts a validation on all properties
Public methodValidateAsync(String)
Starts a validation on a property defined by name.
Public methodValidateAsync(PropertyInfo, String)
Starts a validation on a property defined by name.
Top
Events
  NameDescription
Public eventBehaviourInvoke
Occures if a behaviour should be invoked
(Inherited from INotifyBehaviourInvocation.)
Public eventDisposed
Occures if the object has been disposed
(Inherited from IDisposableObject.)
Public eventIsLoadingChanged
Occures if the IsLoading property has changed.
(Inherited from IViewModel.)
Public eventValidating
Occured if a property is veing validated.
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