Skip to main content

DXErrorProvider.ClearErrors() Method

Visually clears all error icons that have been displayed by the current DXErrorProvider.

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public void ClearErrors()

Remarks

The ClearErrors method visually clears all error icons that have been displayed by the current DXErrorProvider.

Errors can be set on the data source level (see the IDXDataErrorInfo help topic) or using the DXErrorProvider.SetError method. The ClearErrors method doesn’t clear errors that have been set on the data source level, but only temporarily hides corresponding error icons.

See Also