Export (0) Print
Expand All

Page.StyleSheetTheme Property

Gets or sets the name of the style sheet applied to this page.

Namespace: System.Web.UI
Assembly: System.Web (in system.web.dll)

public virtual string StyleSheetTheme { get; set; }
/** @property */
public String get_StyleSheetTheme ()

/** @property */
public void set_StyleSheetTheme (String value)

public function get StyleSheetTheme () : String

public function set StyleSheetTheme (value : String)

Not applicable.

Property Value

The name of the style sheet applied to this page.

Exception typeCondition

InvalidOperationException

The StyleSheetTheme property is set before the Init event completes.

The StyleSheetTheme property sets the cascading style sheet (CSS) that defines the appearance of the page in the Web browser.

TopicLocation
How to: Apply ASP.NET Themes ProgrammaticallyBuilding ASP .NET Web Applications
How to: Apply ASP.NET Themes ProgrammaticallyBuilding ASP .NET Web Applications

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

ADD
Show:
© 2014 Microsoft