ITemplateEditingFrame.TemplateStyles ITemplateEditingFrame.TemplateStyles ITemplateEditingFrame.TemplateStyles ITemplateEditingFrame.TemplateStyles Property

定義

取得控制項的樣板樣式。Gets the template styles for the control.

public:
 property cli::array <System::Web::UI::WebControls::Style ^> ^ TemplateStyles { cli::array <System::Web::UI::WebControls::Style ^> ^ get(); };
public System.Web.UI.WebControls.Style[] TemplateStyles { get; }
member this.TemplateStyles : System.Web.UI.WebControls.Style[]
Public ReadOnly Property TemplateStyles As Style()

屬性值

Style[]

Style 物件的陣列,表示控制項的樣板樣式。An array of Style objects that represent the template styles for the control.

備註

注意

ITemplateEditingFrame 介面已經過時。The ITemplateEditingFrame interface is obsolete. 範本樣式透過提供Style屬性TemplateDefinition物件。A template style is provided through the Style property of a TemplateDefinition object. 列舉範本定義的集合,使用Templates屬性的每個TemplateGroup中的項目TemplateGroups控制項設計工具的集合。Enumerate the collection of template definitions by using the Templates property of each TemplateGroup element in the TemplateGroups collection of a control designer.

適用於

另請參閱