Przeczytaj w języku angielskim Edytuj

Udostępnij za pośrednictwem


MetaColumn.NullDisplayText Property

Definition

Gets the caption that is displayed for a field when the field's value is null.

C#
public string NullDisplayText { get; }

Property Value

The caption that is displayed for a field when the field's value is null.

Implements

Remarks

The NullDisplayText property verifies if a DisplayFormatAttribute attribute is applied to the data field and retrieves the value of the DisplayFormatAttribute.NullDisplayText property. If a DisplayFormatAttribute attribute is not found, this property verifies if a DataTypeAttribute attribute is applied to retrieve formatting information.

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