Freigeben über


KeyTipService.AddActivatingKeyTipHandler-Methode

Fügt den Routingereignishandler für das ActivatingKeyTip-Ereignis hinzu.

Namespace:  Microsoft.Windows.Controls
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Shared Sub AddActivatingKeyTipHandler ( _
    element As DependencyObject, _
    handler As ActivatingKeyTipEventHandler _
)
public static void AddActivatingKeyTipHandler(
    DependencyObject element,
    ActivatingKeyTipEventHandler handler
)
public:
static void AddActivatingKeyTipHandler(
    DependencyObject^ element, 
    ActivatingKeyTipEventHandler^ handler
)
static member AddActivatingKeyTipHandler : 
        element:DependencyObject * 
        handler:ActivatingKeyTipEventHandler -> unit 
public static function AddActivatingKeyTipHandler(
    element : DependencyObject, 
    handler : ActivatingKeyTipEventHandler
)

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

KeyTipService Klasse

Microsoft.Windows.Controls-Namespace