Share via


KeyTipService.AddPreviewKeyTipAccessedHandler Method

Adds the routed event handler for the PreviewKeyTipAccessed event.

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
)

Parameters

.NET Framework Security

See Also

Reference

KeyTipService Class

Microsoft.Windows.Controls Namespace