Skip to main content
A newer version of this page is available. .

CaptchaTextBoxProperties.NullText Property

Gets or sets the prompt text displayed within the editor’s text box when it is not focused, and its value is null.

Namespace: DevExpress.Web.Captcha

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue("")]
public string NullText { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that specifies the prompt text.

Remarks

The NullText property defines the prompt text to be displayed in the editor’s text box. The specified prompt text is displayed if the text box’s value is null and the editor is not focused. The prompt text disappears when the editor receives focus.

Note

The ASPxWebControl.EncodeHtml property is not in effect for the NullText property. So the NullText property value is not HTML encoded and is rendered as pure HTML markup.

Refer to the HTML Encoding topic for more information.

See Also