ActiveReports 10
AddHandler(RoutedEvent,Delegate,Boolean) Method

GrapeCity.ActiveReports.Viewer.Wpf.v10 Assembly > GrapeCity.ActiveReports.Viewer.Wpf Namespace > Viewer Class > AddHandler Method : AddHandler(RoutedEvent,Delegate,Boolean) Method
An identifier for the routed event to be handled.
A reference to the handler implementation.
true to register the handler such that it is invoked even when the routed event is marked handled in its event data; false to register the handler with the default condition that it will not be invoked if the routed event is already marked handled. The default is false.Do not routinely ask to rehandle a routed event. For more information, see Remarks.
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.
Syntax
'Declaration
 
Public Overloads Sub AddHandler( _
   ByVal routedEvent As RoutedEvent, _
   ByVal handler As Delegate, _
   ByVal handledEventsToo As Boolean _
) 
public void AddHandler( 
   RoutedEvent routedEvent,
   Delegate handler,
   bool handledEventsToo
)

Parameters

routedEvent
An identifier for the routed event to be handled.
handler
A reference to the handler implementation.
handledEventsToo
true to register the handler such that it is invoked even when the routed event is marked handled in its event data; false to register the handler with the default condition that it will not be invoked if the routed event is already marked handled. The default is false.Do not routinely ask to rehandle a routed event. For more information, see Remarks.
See Also

Reference

Viewer Class
Viewer Members
Overload List