KeyTipService.RemoveKeyTipAccessedHandler Method
Removes the routed event handler for the KeyTipAccessed event.
Namespace: Microsoft.Windows.Controls
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Shared Sub RemoveKeyTipAccessedHandler ( _
element As DependencyObject, _
handler As KeyTipAccessedEventHandler _
)
public static void RemoveKeyTipAccessedHandler(
DependencyObject element,
KeyTipAccessedEventHandler handler
)
public:
static void RemoveKeyTipAccessedHandler(
DependencyObject^ element,
KeyTipAccessedEventHandler^ handler
)
static member RemoveKeyTipAccessedHandler :
element:DependencyObject *
handler:KeyTipAccessedEventHandler -> unit
public static function RemoveKeyTipAccessedHandler(
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 remove from 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.