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

EditPropertiesBase.NullDisplayText Property

Gets or sets the text displayed within the editor’s edit region when the editor’s value is null.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

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

Property Value

Type Default Description
String String.Empty

A string value specifying the text displayed within the editor when the editor’s value is null.

Remarks

The NullDisplayText property can be used to specify a custom text to display within an inplace editor when the editor’s value is null. If this property is not set, null values are displayed as empty strings within the editor.

To convert an empty string value to a null value, set the EditProperties.ConvertEmptyStringToNull property to true.

See Also