Skip to main content
Tab

MemoProperties.NullText Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.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 editor’s prompt text to be displayed in the edit box. The specified prompt text is displayed, if the editor’s value is null and the editor is not focused. The prompt text disappears when the editor receives focus.

Note that the editor’s prompt text might not be displayed if the editor’s MaskSettings.IncludeLiterals property is set to the MaskIncludeLiteralsMode.All or MaskIncludeLiteralsMode.DecimalSymbol value, and the MaskSettings.Mask property is not empty.

Note

The NullText property synchronizes its value with the editor’s ASPxMemo.NullText property.

See Also