DynamicControl.NullDisplayText Property

Definition

Gets or sets the caption that is displayed for a data field when the field value is null.

C#
public string NullDisplayText { get; set; }

Property Value

The caption that is displayed for a data field when the field value is null. The default is an empty string (""), which indicates that this property is not set.

Remarks

Sometimes a field value is stored as null in the data source. You can specify a custom caption to display for fields that have a null value by setting the NullDisplayText property. If this property is not set, null field values are displayed as empty strings ("").

Applies to

Produkt Wersje
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also