DataFormView.ValidationMode Property
Specifies when to validate values that users enter in the data form’s editors.
Namespace: DevExpress.XamarinForms.DataForm
Assembly: DevExpress.XamarinForms.Editors.dll
NuGet Package: DevExpress.XamarinForms.Editors
Declaration
public CommitMode ValidationMode { get; set; }
Property Value
Type | Description |
---|---|
CommitMode | A value that specifies when input values are validated. |
Remarks
The DataFormView.ValidationMode
property specifies when input values should be validated. The following modes are available:
- PropertyChanged - a value is validated after changes.
- LostFocus - a value is validated when an editor loses focus (when a user taps outside the editor or presses Enter on a device’s keyboard).
- Manually - a value is validated when the Validate method is called.
<dxdf:DataFormView x:Name="dataForm"
ValidationMode="LostFocus">
<!-- ... -->
</dxdf:DataFormView>
See Also