UFT One 2022 and later: Following the discontinuance of the Silverlight development framework, UFT One no longer supports the Silverlight Add-in out of the box.
If you need to use and extend the Silverlight Add-in, contact Micro Focus Support.
Adds an event handler.
Handlers added with this method are released by the UFT infrastructure.
|Visual Basic (Declaration)|
Overridable Sub AddHandler( _ ByVal element As UIElement, _ ByVal eventName As String, _ ByVal handler As MulticastDelegate _ )
- The control on which to add the event handler. This is generally the IUtilityObject.ApplicationObject but may be a child control or any other control.
The name of the event to handle, for example "SelectedDatesChanged" for the SelectedDatesChanged event on a calendar.
- The event handler.