WebPartAdder.ShowListsAndLibraries Property

Gets or sets a flag that indicates whether the WebPartAdder shows lists and libraries.

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

Syntax

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

value = instance.ShowListsAndLibraries

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

Property Value

Type: System.Boolean
true if the WebPartAdder shows lists and libraries; otherwise, false. The default is true.

See Also

Reference

WebPartAdder Class

WebPartAdder Members

Microsoft.SharePoint.WebPartPages Namespace