Freigeben über


KeyTipService.AddPreviewKeyTipAccessedHandler-Methode

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

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

Syntax

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

Parameter

.NET Framework-Sicherheit

Siehe auch

Referenz

KeyTipService Klasse

Microsoft.Windows.Controls-Namespace