TemplateDefinition.Style Property

 

Retrieves the style that should be applied to the template as set in the TemplateDefinition constructor. This property is read-only.

Namespace:   System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

public Style Style { get; }

Property Value

Type: System.Web.UI.WebControls.Style

A Style object.

Although the Style property is read-only, the properties of the Style can be set.

.NET Framework
Available since 2.0
Return to top
Show: