Visible Property

PageCatalogPart.Visible Property


This inherited property is not used by the Web Parts control set when rendering a PageCatalogPart control. The property is overridden only for the purpose of preventing it from appearing in Microsoft Visual Studio 2005 designer tools.

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

public override bool Visible { get; set; }

Property Value

Type: System.Boolean

A Boolean value that indicates whether the control is visible.

The Visible property, as a member of the PageCatalogPart 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 PageCatalogPart control in Visual Studio, the Visible 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 Visible 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.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft