Skip to main content
A newer version of this page is available. .

DXErrorProvider.GetControlsWithError(ErrorType) Method

Gets a list of the controls with which errors of the specified type are associated.

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

public IList<Control> GetControlsWithError(
    ErrorType errorType
)

Parameters

Name Type Description
errorType ErrorType

An ErrorType value that specifies the type of error that editors to be returned must contain.

Returns

Type Description
IList<Control>

A list of the controls with which errors are associated.

See Also