WebPartManagerInternals.SetIsClosed(WebPart, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
void SetIsClosed(System::Web::UI::WebControls::WebParts::WebPart ^ webPart, bool isClosed);
public void SetIsClosed (System.Web.UI.WebControls.WebParts.WebPart webPart, bool isClosed);
member this.SetIsClosed : System.Web.UI.WebControls.WebParts.WebPart * bool -> unit
Public Sub SetIsClosed (webPart As WebPart, isClosed As Boolean)
Parameters
Remarks
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.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.