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
Syntax
'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Delegate Sub ViewChangeEventHandler ( _
sender As Object, _
e As ToolPane.ViewChangeEventArgs _
)
'Usage
Dim instance As New ViewChangeEventHandler(AddressOf HandlerMethod)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public delegate void ViewChangeEventHandler(
Object sender,
ToolPane.ViewChangeEventArgs e
)
Parameters
sender
Type: System.ObjectObject that is the source of the event.
e
Type: Microsoft.SharePoint.WebPartPages.ToolPane.ViewChangeEventArgsToolPane.ViewChangeEventArgs event change data to be passed to delegates associated with the view change event.
Remarks
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.
See Also
Reference
Microsoft.SharePoint.WebPartPages Namespace