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 */
public Style get_Style ()

public function get Style () : Style

Not applicable.

Property Value

A Style object.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions