SPWebPartManager.ToolPaneErrorDisplayMode property

Gets the WebPartDisplayMode that enables the error message to be displayed in the ToolPane.

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

Syntax

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

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

Property value

Type: System.Web.UI.WebControls.WebParts.WebPartDisplayMode
The display mode that enables the error message to be displayed in the ToolPane.

See also

Reference

SPWebPartManager class

SPWebPartManager members

Microsoft.SharePoint.WebPartPages namespace