Click or drag to resize

ValidationModelBaseAddValidation Method

Sets a property to validate on update. Note: validation attributes must be set on the property for this to work.

Namespace:  Xcalibur.Extensions.MVVM.Models
Assembly:  Xcalibur.Extensions.MVVM (in Xcalibur.Extensions.MVVM.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void AddValidation(
	string propertyName,
	string friendlyName = null
)

Parameters

propertyName
Type: SystemString
The property name.
friendlyName (Optional)
Type: SystemString
Friendly name used on messages (optional).

Implements

IValidationAddValidation(String, String)
See Also