Condividi tramite


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)
Available in Sandboxed Solutions: No

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