MobilePage.StyleSheetTheme Property

This property supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

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

public:
virtual property String^ StyleSheetTheme {
	String^ get () override;
	void set (String^ value) override;
}
/** @property */
public String get_StyleSheetTheme ()

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

public override function get StyleSheetTheme () : String

public override function set StyleSheetTheme (value : String)

Not applicable.

Property Value

a null reference (Nothing in Visual Basic).

Exception typeCondition

NotSupportedException

An attempt was made to set this property. Themes are not supported on Mobile Web Forms pages.

This member overrides Page.StyleSheetTheme to prevent themes from being changed from the default. This is because themes are not supported on ASP.NET Mobile Web Forms pages.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, 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: