編輯

共用方式為


DynamicControl.NullDisplayText Property

Definition

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 ("").

Applies to

See also