IToolPaneControl Interface

Represents an advanced WebPartToolPart Web control.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public interface IToolPaneControl

Use this class to get or set the AuthorizationFilter property of the selected Web Part, which is associated with the WebPartToolPart. The WebPartToolPart contains the WebControl object that is represented by the IToolPaneControl interface. This property is returned by the object that implements the IRuntimeFilter2 interface, which in turn implements run-time filtering of Web Parts, based on the user who is viewing the page.