Acts as an event handler delegate when the view of the ToolPane object changes.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'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 )
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.