KeyTipService.AddPreviewKeyTipAccessedHandler Method (DependencyObject, KeyTipAccessedEventHandler)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds the routed event handler for the PreviewKeyTipAccessed event.

Namespace:   System.Windows.Controls
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public static void AddPreviewKeyTipAccessedHandler(
	DependencyObject element,
	KeyTipAccessedEventHandler handler
)

Parameters

element
Type: System.Windows.DependencyObject

The identifier of the routed event for which the handler is attached.

handler
Type: System.Windows.Controls.KeyTipAccessedEventHandler

The specific handler implementation to add to the event handler collection on this element.

.NET Framework
Available since 4.5
Return to top
Show: