MVCxValidationSettings.ErrorDisplayMode Property
This property is not in effect for the MVCxValidationSettings class.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
[DefaultValue(ErrorDisplayMode.ImageWithTooltip)]
public override ErrorDisplayMode ErrorDisplayMode { get; set; }
Property Value
Type | Default |
---|---|
ErrorDisplayMode | ImageWithTooltip |
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 property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio designer tools.
Note
We recommend that you use the Model Validation validation approach instead.