GetToolParts method
Collapse the table of content
Expand the table of content

DataFormWebPart.GetToolParts method

Determines which tool parts are displayed in the tool pane of the Web Part user interface, and the order in which they are displayed.

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

public override ToolPart[] GetToolParts()

Return value

Type: []
An array of type ToolPart that determines which tool parts will be displayed in the tool pane.

When creating a custom Web Part that includes custom properties that require a custom tool part, this method must be overridden to specify the list of custom tool parts to render inside the tool pane.

© 2016 Microsoft