IDXDataErrorInfo.GetPropertyError(String, ErrorInfo) Method

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

Namespace: DevExpress.XtraEditors.DXErrorProvider

Assembly: DevExpress.Data.v20.1.dll

Declaration

void GetPropertyError(
    string propertyName,
    ErrorInfo info
)
Sub GetPropertyError(
    propertyName As String,
    info As ErrorInfo
)

Parameters

Name Type Description
propertyName String

A string that identifies the name of the property for which information on an error is to be returned.

info ErrorInfo

An ErrorInfo object that contains information on an error.

Remarks

The GetPropertyError method must return information on an error associated with the specified property.

To set the error text and the type of the error, assign the corresponding values to the ErrorInfo.ErrorText and ErrorInfo.ErrorType properties.

See Also