WebPartManagerInternals::SetIsClosed Method (WebPart^, Boolean)
.NET Framework (current version)
Namespace:
System.Web.UI.WebControls.WebParts
Assembly: System.Web (in System.Web.dll)
Return to top
Assembly: System.Web (in System.Web.dll)
Parameters
- webPart
- Type: System.Web.UI.WebControls.WebParts::WebPart^
- isClosed
-
Type:
System::Boolean
A Boolean value that indicates whether a WebPart is closed on a page.
The SetIsClosed method sets the IsClosed property of webPart. This method does not actually close webPart; it only sets the property that indicates whether webPart is closed.
.NET Framework
Available since 2.0
Available since 2.0
Show: