DataFieldValidation Class
Field data element that implements data validation support.
Namespace: Aliquo.Windows.ModelsAssembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
public class DataFieldValidation : DataField,
INotifyDataErrorInfo
Public Class DataFieldValidation
Inherits DataField
Implements INotifyDataErrorInfo
- Inheritance
- Object BindableCore DataField DataFieldValidation
- Implements
- INotifyDataErrorInfo
Observaciones:
In a data binding scenario, use the Value property as the binding source path for controls
of the view and the field name specified in the Field property to associate validation rules and errors
for this field element. So when Binding requests GetErrors() for errors for the bound property
Value the errors associated with Field are returned and when it is required to notify changes in the errors of the field
The ErrorsChanged event is raised for the Value property.
AllowNull |
Indicates if the field allows .
|
DataType |
Type of data stored in the field.
|
HasErrors |
Indicates if the field has errors in view or rules.
|
ValidationProvider |
Gets or sets the reference of the data validations provider.
|
GetErrors |
Gets all data field validation errors.
|