IDXDataErrorInfo.GetError(ErrorInfo) Method
In This Article
When implemented by a class, this method returns information on an error associated with a business object.
Namespace: DevExpress.XtraEditors.DXErrorProvider
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
info | Error |
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