Compartilhar via


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

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