Spread WPF Documentation
AddHandler(RoutedEvent,Delegate) Method


Syntax
'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 DragFillContextMenuItem
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
)

Parameters

routedEvent
handler
Requirements

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)

See Also

Reference

DragFillContextMenuItem Class
DragFillContextMenuItem Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.