IDXDataErrorInfo.GetError(ErrorInfo) Method

When implemented by a class, this method returns information on an error associated with a business object.

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.Data.v21.1.dll

Declaration

void GetError(
    ErrorInfo info
)

Parameters

Name Type Description
info ErrorInfo

An ErrorInfo object that contains information on an error.

Remarks

Grid controls bound to collections of your business objects call the GetError method when rows are repainted and when a user moves focus between rows.

When implemented by a class, the GetError method must return information on an error associated with the current object. To indicate that the object is invalid, assign the error text and error type via the info.ErrorText and info.ErrorType properties.

See Also