DynamicControl.NullDisplayText Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the caption that is displayed for a data field when the field value is null
.
public:
property System::String ^ NullDisplayText { System::String ^ get(); void set(System::String ^ value); };
public string NullDisplayText { get; set; }
member this.NullDisplayText : string with get, set
Public Property NullDisplayText As String
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 ("").