Interface IValidatingViewModel
Define una serie de miembros a implementar por un tipo que implemente un ViewModel que provee de servicios de validación de datos.
Inherited Members
Namespace: TheXDS.MCART.Types.Base
Assembly: MCART.Mvvm.dll
Syntax
public interface IValidatingViewModel : INotifyPropertyChanged
Properties
| Edit this page View SourceErrorSource
Obtiene el origen de validación para esta instancia.
Declaration
ValidationSource ErrorSource { get; }
Property Value
Type | Description |
---|---|
ValidationSource |
Remarks
Esta propiedad debe establecerse en el constructor del ViewModel de la siguiente manera:
ErrorSource = new ValidationSource<TViewModel>(this);