Export (0) Print
Expand All

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)

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

Parameters

sender
Type: System.Object

Object that is the source of the event.

e
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.

Community Additions

Show:
© 2014 Microsoft