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)
Available in Sandboxed Solutions: No
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.