maui-devexpress-dot-maui-dot-dataform-dot-dataformview-8082fc0f.md
Validates all data fields on the form according to the current validation logic.
Namespace : DevExpress.Maui.DataForm
Assembly : DevExpress.Maui.Editors.dll
NuGet Package : DevExpress.Maui.Editors
public bool Validate()
| Type | Description |
|---|---|
| Boolean |
true if the data field value is valid; otherwise, false.
|
The ValidationMode property specifies when the data form validates the user input. The following modes are supported:
Validate() method is called. You can also call the Validate(String) method to validate a specific data field.Note
The form also validates data fields when the Commit() method is called. If values are not valid, they are not committed to the underlying data object.
See the following topic for more information: Validate User Input in Data Form for .NET MAUI.
See Also