DeclarativeCatalogPart.Enabled Property
Assembly: System.Web (in system.web.dll)
[ThemeableAttribute(false)] public: virtual property bool Enabled { bool get () override; void set (bool value) override; }
/** @property */ public boolean get_Enabled () /** @property */ public void set_Enabled (boolean value)
public override function get Enabled () : boolean public override function set Enabled (value : boolean)
Not applicable.
Property Value
A Boolean value that indicates whether a control is currently enabled or disabled.The Enabled 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 Enabled 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 Enabled 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 Introduction to ASP.NET Themes.
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.