Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseContainerValidateEditorEventArgs.ErrorText Property

Gets or sets the error description.

Namespace: DevExpress.XtraEditors.Controls

Assembly: DevExpress.XtraEditors.v24.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