SPUtility.CheckForCustomToolpane method

Checks if the Web page is currently using a custom tool pane. For example, if the page is loaded in SharePoint Designer.

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

public static bool CheckForCustomToolpane(
	string pagePath


Type: System.String

The page control name and file path.

Return value

Type: System.Boolean
true if the page is using a custom tool pane; otherwise false.