Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CheckForCustomToolpane method
Collapse the table of content
Expand the table of content

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.
© 2015 Microsoft