Skip to main content

BaseContainerValidateEditorEventArgs.ErrorText Property

Gets or sets the error description.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public string ErrorText { get; set; }

Property Value

Type Description
String

A string value specifying the error description.

Remarks

The ErrorText property specifies the error hint text. The hint is displayed if the BaseContainerValidateEditorEventArgs.Valid property is set to false. Note that, in this case, the cell that failed validation displays an error icon. Pointing to that icon displays the error hint again.

Note: you can override the behavior described using the InvalidValueException event of a control you are using. In this case, the ErrorText property value specifies the initial value of that event’s ErrorText parameter.

See Also