Επεξεργασία

Κοινή χρήση μέσω


CheckBoxField.DataFormatString Property

Definition

Gets or sets the string that specifies the display format for the value of the field. This property is not supported by the CheckBoxField class.

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

Property Value

A formatting string that specifies the display format for the value of the field. 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 DataFormatString 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