共用方式為


DataControlFieldCell.ContainingField 屬性

定義

取得包含目前儲存格的 DataControlField 物件。

public:
 property System::Web::UI::WebControls::DataControlField ^ ContainingField { System::Web::UI::WebControls::DataControlField ^ get(); };
public System.Web.UI.WebControls.DataControlField ContainingField { get; }
member this.ContainingField : System.Web.UI.WebControls.DataControlField
Public ReadOnly Property ContainingField As DataControlField

屬性值

DataControlField

DataControlField,包含目前儲存格,如果未向類別建構函式傳遞 DataControlField,則為 null

備註

物件的內容轉譯 DataControlFieldCell 可能會受到包含欄位的各種 DataControlField 屬性影響,例如 ItemStyleControlStyleShowHeader

適用於

另請參閱