Partilhar via


Método KeyTipService.AddPreviewKeyTipAccessedHandler

Adiciona um manipulador de eventos roteados para o PreviewKeyTipAccessed de evento.

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

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

KeyTipService Classe

Namespace Microsoft.Windows.Controls