Επεξεργασία

Κοινή χρήση μέσω


KeyTipService.AddActivatingKeyTipHandler Method

Definition

Adds the routed event handler for the ActivatingKeyTip event.

public:
 static void AddActivatingKeyTipHandler(System::Windows::DependencyObject ^ element, System::Windows::Controls::ActivatingKeyTipEventHandler ^ handler);
public static void AddActivatingKeyTipHandler (System.Windows.DependencyObject element, System.Windows.Controls.ActivatingKeyTipEventHandler handler);
static member AddActivatingKeyTipHandler : System.Windows.DependencyObject * System.Windows.Controls.ActivatingKeyTipEventHandler -> unit
Public Shared Sub AddActivatingKeyTipHandler (element As DependencyObject, handler As ActivatingKeyTipEventHandler)

Parameters

element
DependencyObject

The identifier of the routed event for which the handler is attached.

handler
ActivatingKeyTipEventHandler

The specific handler implementation to add to the event handler collection on this element.

Applies to