ProxyWebPartManager.EnableTheming Property

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

Overrides the base property to prevent themes from being used.

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

public:
virtual property bool EnableTheming {
	bool get () override;
	void set (bool value) override;
}
/** @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

Always returns false, to prevent themes from being used.

Exception typeCondition

NotSupportedException

A caller tries to assign a value to this property.

The EnableTheming property overrides the base property to prevent themes from being used with the ProxyWebPartManager control. This is to prevent it coming into conflict with any themes being used with the WebPartManager control in the master page (its WebPartManager.EnableTheming property always returns true).

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: