Element. Add Handler(RoutedEvent, Delegate) Method
Adds a routed event handler for a specific routed event to an element.
public: void AddHandler(System::Windows::RoutedEvent ^ routedEvent, Delegate ^ handler);
public void AddHandler (System.Windows.RoutedEvent routedEvent, Delegate handler);
abstract member AddHandler : System.Windows.RoutedEvent * Delegate -> unit
The identifier for the routed event that is being handled.
A reference to the handler implementation.
This interface is not intended for public implementation. For more information, see remarks for the IInputElement interface.