BaseEdit.ClearError() Method
Clears error notification and resets the editor’s value.
Namespace: DevExpress.UI.Xaml.Editors
Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll
NuGet Package: DevExpress.Uwp.Controls
Declaration
Remarks
The validation takes place when a value specified by an end-user (e.g., a user types within a text editor and presses the ENTER key) is to be assigned to the editor’s BaseEdit.EditValue property. If the new value is invalid, it isn’t accepted by the editor and not assigned to the BaseEdit.EditValue property. In this instance, an end-user can correct this value or reset it to the previous value by pressing the ESC key. To do this in code, use the ClearError method.
See Also