Skip to main content

DXErrorProvider.SetErrorType(Control, ErrorType) Method

Sets the type of error associated with the specified control.

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void SetErrorType(
    Control control,
    ErrorType errorType
)

Parameters

Name Type Description
control Control

The control whose error type is specified.

errorType ErrorType

An ErrorType value that specifies the error type.

See Also