Export (0) Print
Expand All
Expand Minimize

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.

© 2014 Microsoft