GrapeCity.Windows.SpreadSheet.UI Namespace > EditingElement Class > AddHandler Method : AddHandler(RoutedEvent,Delegate) Method |
'Declaration <System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline this type of method across NGen image boundaries")> Public Overloads Sub AddHandler( _ ByVal routedEvent As System.Windows.RoutedEvent, _ ByVal handler As System.Delegate _ )
'Usage Dim instance As EditingElement Dim routedEvent As System.Windows.RoutedEvent Dim handler As System.Delegate instance.AddHandler(routedEvent, handler)
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] public void AddHandler( System.Windows.RoutedEvent routedEvent, System.Delegate handler )
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)