Export (0) Print
Expand All

MobilePage.EnableTheming Property

Note: This property is new in the .NET Framework version 2.0.

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

Gets or sets a value indicating whether themes apply to this page.

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

public override bool EnableTheming { get; set; }
/** @property */
public boolean get_EnableTheming ()

/** @property */
public void set_EnableTheming (boolean value)

public override function get EnableTheming () : boolean

public override function set EnableTheming (value : boolean)

Property Value

true if themes are used; otherwise, false. The default is false. The EnableTheming property is a server-side field and should not be modified.

This member overrides TemplateControl.EnableTheming to prevent theming from being changed. This is because most themes are not supported on ASP.NET mobile Web Forms pages.

Windows 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft