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)

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