編輯

共用方式為


ITemplateEditingFrame.TemplateStyles Property

Definition

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()

Property Value

Style[]

An array of Style objects that represent the template styles for the control.

Remarks

Note

The ITemplateEditingFrame interface is obsolete. A template style is provided through the Style property of a TemplateDefinition object. Enumerate the collection of template definitions by using the Templates property of each TemplateGroup element in the TemplateGroups collection of a control designer.

Applies to

See also