ToolPane.ViewChangeEventHandler Delegate

Acts as an event handler delegate when the view of the ToolPane object changes.

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

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public delegate void ViewChangeEventHandler(
	Object sender,
	ToolPane.ViewChangeEventArgs e


Type: System.Object

Object that is the source of the event.

Type: Microsoft.SharePoint.WebPartPages.ToolPane.ViewChangeEventArgs

ToolPane.ViewChangeEventArgs event change data to be passed to delegates associated with the view change event.

A ToolPane object can be displayed to the user in multiple views: extensible, import, navigation, closed, or others.

The ToolPane.ViewChangeEventHandler class uses infrastructural methods that are provided for delegates automatically by common language runtime.

The implementer should identify the event receiver which will act on the data from the object whose view can change. Then the implementer should create the ToolPane.ViewChangeEventHandler delegate and associate it with the event that signifies that the view has changed. The event handler is called whenever the source object causes the event to occur, until the delegate is removed.