Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.ExpressApp

#Declaration

[ModelBrowsable(typeof(NullTextVisibilityCalculator))]
string NullText { get; set; }

#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