SPWebPartManager.ImportDisplayMode property

Gets the WebPartDisplayMode that enables end users to import a Web Part to add to the page.

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

Syntax

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

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

Property value

Type: System.Web.UI.WebControls.WebParts.WebPartDisplayMode
The display mode that enables end users to import a Web Part to add to the page.

See also

Reference

SPWebPartManager class

SPWebPartManager members

Microsoft.SharePoint.WebPartPages namespace