SPWebPartManager.GallerySearchDisplayMode property

Gets the WebPartDisplayMode that enables end users to search for Web Parts in the Web Parts galleries to add to a page.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared ReadOnly Property GallerySearchDisplayMode As WebPartDisplayMode
    Get
'Usage
Dim value As WebPartDisplayMode

value = SPWebPartManager.GallerySearchDisplayMode
public static WebPartDisplayMode GallerySearchDisplayMode { get; }

Property value

Type: System.Web.UI.WebControls.WebParts.WebPartDisplayMode
The display mode that enables end users to search for Web Parts in the Web Parts galleries to add to a page.

See also

Reference

SPWebPartManager class

SPWebPartManager members

Microsoft.SharePoint.WebPartPages namespace