DataControlField.FooterStyle 屬性

定義

取得或設定資料控制項欄位的頁尾樣式。Gets or sets the style of the footer of the data control field.

public:
 property System::Web::UI::WebControls::TableItemStyle ^ FooterStyle { System::Web::UI::WebControls::TableItemStyle ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.TableItemStyle FooterStyle { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.FooterStyle : System.Web.UI.WebControls.TableItemStyle
Public ReadOnly Property FooterStyle As TableItemStyle

屬性值

TableItemStyle

TableItemStyle,管理 DataControlField 之頁尾項目的外觀。A TableItemStyle that governs the appearance of the footer item of the DataControlField.

屬性

備註

FooterStyle屬性會控制從衍生自之類型頁尾專案中顯示之任何文字的外觀 DataControlFieldThe FooterStyle property governs the appearance of any text displayed in the footer item of a type derived from DataControlField.

注意

某些資料繫結控制項不會呈現資料控制欄位的頁尾專案。Some data-bound controls do not render a footer item for a data control field. 例如,控制項會將 DetailsView 其資料控制欄位顯示為數據列。For example, the DetailsView control displays its data control fields as rows. 不會針對這些資料控制欄位呈現頁尾專案。A footer item is not rendered for these data control fields. FooterStyle這些控制項中的屬性會被忽略。The FooterStyle property is ignored in these controls.

適用於

另請參閱