BootstrapEditorValidationSettings.ErrorDisplayMode Property
Gets or sets a value that specifies how an error message is displayed within the editor’s error frame.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.1.dll
NuGet Package: DevExpress.Web.Bootstrap
Declaration
[DefaultValue(ErrorDisplayMode.ImageWithTooltip)]
public override ErrorDisplayMode ErrorDisplayMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
ErrorDisplayMode | ImageWithTooltip | One of the ErrorDisplayMode enumeration values. |
Available values:
Name | Description |
---|---|
Text | An error message is represented by text only. |
ImageWithTooltip | An error message is represented by an error image. The image’s tooltip displays an error text. If an assigned error image is incorrect, an error message is represented by an error text directly. |
ImageWithText | An error message is represented by both an error image and error text. |
None | No error message is displayed, a specific error frame is displayed near the editor instead. |
Property Paths
You can access this nested property as listed below:
Remarks
The default value of this property depends upon whether an editor is used as standalone or inplace (for example, within a Grid View). For a standalone editor, the ErrorDisplayMode property’s default value is ErrorDisplayMode.ImageWithText. For an inplace editor, the default value is ErrorDisplayMode.ImageWithTooltip.