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)

Syntax

'Declaration
Public Overrides Function GetToolParts As ToolPart()
'Usage
Dim instance As DataFormWebPart
Dim returnValue As ToolPart()

returnValue = instance.GetToolParts()
public override ToolPart[] GetToolParts()

Return value

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

Remarks

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.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace