DataControlField.ShowHeader 屬性

定義

取得或設定值,指示是否呈現資料控制項欄位的標頭項目。Gets or sets a value indicating whether the header item of a data control field is rendered.

public:
 virtual property bool ShowHeader { bool get(); void set(bool value); };
public virtual bool ShowHeader { get; set; }
member this.ShowHeader : bool with get, set
Public Overridable Property ShowHeader As Boolean

屬性值

Boolean

如果呈現 DataControlField 的標頭項目,則為 true,否則為 falsetrue if the header item of the DataControlField is rendered; otherwise, false. 預設為 trueThe default is true.

備註

ShowHeader 可以使用屬性來指定標頭專案是否顯示在 DataControlField 物件中。Use the ShowHeader property to specify whether the header item is displayed in a DataControlField object.

適用於

另請參閱