Tab
A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

[DefaultValue("")]
public virtual string NullDisplayText { get; set; }
<DefaultValue("")>
Public Overridable Property NullDisplayText As String

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