DeclarativeCatalogPart::EnableTheming Property
This inherited property is not used by the DeclarativeCatalogPart control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.
Assembly: System.Web (in System.Web.dll)
[BrowsableAttribute(false)] [ThemeableAttribute(false)] public: virtual property bool EnableTheming { bool get () override; void set (bool value) override; }
<asp:DeclarativeCatalogPart EnableTheming="True|False" />
Property Value
Type: System::BooleanA Boolean value that indicates whether themes can be used on a control.
| Exception | Condition |
|---|---|
| NotSupportedException | An attempt was made to set the property. |
The EnableTheming property, as a member of the DeclarativeCatalogPart control, is not used anywhere within the Web Parts control set for rendering the control. Therefore, you should not use this property; setting it has no effect on rendering.
To prevent developers from using this property, code attributes are set on it to hide it in Visual Studio. When you work with a DeclarativeCatalogPart control in Visual Studio, the EnableTheming property is not visible in the Properties pane or IntelliSense.
If you want to use this property, you need to create a custom class that inherits from the CatalogPart class. The custom class can either use the inherited EnableTheming property as it is, or override it and change its behavior.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins Overview.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.