Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- element
Type: System.Windows.DependencyObject
The identifier of the routed event for which the handler is attached.
- handler
Type: Microsoft.Windows.Controls.KeyTipAccessedEventHandler
The specific handler implementation to add to the event handler collection on this element.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.