編輯

共用方式為


CheckBoxField.NullDisplayText Property

Definition

Gets or sets the text displayed for a field when the field's value is null. This property is not supported by the CheckBoxField class.

public:
 virtual property System::String ^ NullDisplayText { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Browsable(false)]
public override string NullDisplayText { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.NullDisplayText : string with get, set
Public Overrides Property NullDisplayText As String

Property Value

The text displayed for a field with a value of null. This property is not supported, and throws a NotSupportedException.

Attributes

Exceptions

An attempt is made to read or set the value of this property.

Remarks

The NullDisplayText property is inherited from the BoundField class, but is not applicable to the CheckBoxField class. Any attempt to access the value of this property will throw a System.NotSupportedException exception.

Applies to

See also