BaseEdit.ClearError() Method
Clears error notification and resets the editor’s value.
Namespace: DevExpress.Xpf.Editors
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
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