All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IModelCommonMemberViewItem.NullText Property

Specifies the text that a Property Editor displays when its value is null or String.Empty. WinForms Property Editors also show this text if their value is DBNull.Value

Namespace: DevExpress.ExpressApp.Model

Assembly: DevExpress.ExpressApp.v20.1.dll

Declaration

[ModelBrowsable(typeof(NullTextVisibilityCalculator))]
string NullText { get; set; }
<ModelBrowsable(GetType(NullTextVisibilityCalculator))>
Property NullText As String

Property Value

Type Description
String

A text that a Property Editor displays when its value is null, String.Empty, or DBNull.Value (WinForms only).

Remarks

The following Model Editor nodes allow you to specify this property:

  • Views | <DetailView> | Items | <ViewItem>
  • BOModel | <Class> | OwnMembers | <Member>

The following image illustrates the result.

NOTE

You can also set the PropertyEditor.NullText property in code. Refer to its description to see an example.

See Also