Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DXErrorProvider.ClearErrors() Method

In This Article

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

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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