通过


CheckBoxField.DataFormatString 属性

定义

获取或设置指定字段值的显示格式的字符串。 类不支持 CheckBoxField 此属性。

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

属性值

一个格式字符串,指定字段值的显示格式。 此属性不受支持,并引发一个 NotSupportedException

属性

例外

尝试读取或设置此属性的值。

注解

DataFormatString 属性继承自 BoundField 该类,但不适用于该 CheckBoxField 类。 任何尝试访问此属性的值都会引发 System.NotSupportedException 异常。

适用于

另请参阅