AddHandler Method
| Overload | Description |
|---|---|
| AddHandler(UIElement,String,Delegate) | Adds an event handler for a non-routed event. |
| AddHandler(UIElement,RoutedEvent,Delegate) | Adds an event handler for a routed event. |
If other handlers exist for the event, the handler added with AddHandler is called first.
To add a handler for a routed event, use AddHandler(UIElement,RoutedEvent,Delegate). To add a handler for a non-routed event, use AddHandler(UIElement,String,Delegate). Check the event documentation in MSDN to determine whether it is routed or not.
Handlers added with this method are released by the OpenText Functional Testing infrastructure.
| C# | Copy Code |
|---|---|
private EventHandler<SelectionChangedEventArgs> _hSelectedDatesChanged; | |
Reference
IUtilityObject Interface

