AttachedEventsAndPropertiesTestAddItemActivateHandler Method
Add an event handler to an object
Namespace: XMLCommentsExamples.DocumentationInheritanceAssembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
public static void AddItemActivateHandler(
DependencyObject o,
RoutedEventHandler handler
)
Public Shared Sub AddItemActivateHandler (
o As DependencyObject,
handler As RoutedEventHandler
)
public:
static void AddItemActivateHandler(
DependencyObject^ o,
RoutedEventHandler^ handler
)
static member AddItemActivateHandler :
o : DependencyObject *
handler : RoutedEventHandler -> unit
Parameters
- o DependencyObject
- The dependency object
- handler RoutedEventHandler
- The event handler