BaseEdit.ClearError() Method

Clears error notification and resets the editor's value.

Namespace: DevExpress.UI.Xaml.Editors

Assembly: DevExpress.UI.Xaml.Editors.v19.2.dll

Declaration

public void ClearError()
Public Sub ClearError

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