Skip to main content

CaptchaValidationSettings.Display Property

Gets or sets a value that specifies the render style of the error frame displayed around the editor, if the editor’s value has not passed the validation criteria specified.

Namespace: DevExpress.Web.Captcha

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(Display.Static)]
public Display Display { get; set; }

Property Value

Type Default Description
Display Static

One of the Display enumeration values.

Available values:

Name Description Image
Static

An editor initially renders an empty space reserved for the error message.

Display_Static.png

Dynamic

An editor renders the space for the error message dynamically at the moment the editor fails validation.

Display_Dynamic.png

None

No error message is displayed.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to Display
ASP.NET Web Forms Controls ASPxCaptcha
.ValidationSettings .Display
ASP.NET MVC Extensions CaptchaSettings
.ValidationSettings .Display

Remarks

Use the Display property to control the manner in which the error frame is displayed around the editor.

See Also