WebPartAdder.ShowClosedWebParts Property

Gets or sets a flag that indicates whether the WebPartAdder shows the Web Parts that have been closed on the page.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property ShowClosedWebParts As Boolean
    Get
    Set
'Usage
Dim instance As WebPartAdder
Dim value As Boolean

value = instance.ShowClosedWebParts

instance.ShowClosedWebParts = value
public bool ShowClosedWebParts { get; set; }

Property Value

Type: System.Boolean
true if the WebPartAdder shows the Web Parts that have been closed on the page; otherwise, false. The default is true.

See Also

Reference

WebPartAdder Class

WebPartAdder Members

Microsoft.SharePoint.WebPartPages Namespace