Skip to main content

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.1.dll


public string NullText { get; set; }

Property Value

Type Default Description
String String.Empty

A string value that specifies the prompt text.


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.


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