Interface IValidatingViewModel
Defines members to be implemented by a type that represents a ViewModel which provides data validation services.
Inherited Members
Namespace: TheXDS.MCART.Types.Base
Assembly: MCART.Mvvm.dll
Syntax
public interface IValidatingViewModel : INotifyPropertyChanged
Properties
| Edit this page View SourceErrorSource
Gets the validation source for this instance.
Declaration
ValidationSource ErrorSource { get; }
Property Value
| Type | Description |
|---|---|
| ValidationSource |
Remarks
This property should be set in the ViewModel constructor like this:
ErrorSource = new ValidationSource<TViewModel>(this);