MobilePage.Theme 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 page theme.

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

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

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

public override function get Theme () : String

public override function set Theme (value : String)

Not applicable.

Property Value

The name of the page theme. The Theme property is a server-side field and cannot be modified.

Exception typeCondition

NotSupportedException

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

This member overrides Page.Theme to prevent themes from being enabled. 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: