ProxyWebPartManager.EnableTheming Property

Definition

Overrides the base property to prevent themes from being used.

C#
public override bool EnableTheming { get; set; }

Property Value

Always returns false, to prevent themes from being used.

Exceptions

A caller tries to assign a value to this property.

Remarks

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).

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also