ReportViewerWebPart.GetToolParts Method

Definition

Returns a list of tool parts that are displayed in the tool pane of the Web-based Web Part design user interface, in the order in which they are displayed.

public:
 override cli::array <Microsoft::SharePoint::WebPartPages::ToolPart ^> ^ GetToolParts();
public override Microsoft.SharePoint.WebPartPages.ToolPart[] GetToolParts ();
override this.GetToolParts : unit -> Microsoft.SharePoint.WebPartPages.ToolPart[]
Public Overrides Function GetToolParts () As ToolPart()

Returns

Microsoft.SharePoint.WebPartPages.ToolPart[]

An array of Microsoft.SharePoint.WebPartPages.ToolPart objects.

Remarks

This method returns the four default tool parts as shown in the tool pane of the Web-based Web Part design user interface. They are: Report, View, Parameters, and the default tool part. To customize the tool parts that are displayed, override this method to return a different set of tool parts.

Applies to