Share via


TextElement.AccessKeyInvoked Event

Definition

Occurs when a user completes an access key sequence to notify the element that the access key action should be invoked.

// Register
event_token AccessKeyInvoked(TypedEventHandler<TextElement, AccessKeyInvokedEventArgs const&> const& handler) const;

// Revoke with event_token
void AccessKeyInvoked(event_token const* cookie) const;

// Revoke with event_revoker
TextElement::AccessKeyInvoked_revoker AccessKeyInvoked(auto_revoke_t, TypedEventHandler<TextElement, AccessKeyInvokedEventArgs const&> const& handler) const;
public event TypedEventHandler<TextElement,AccessKeyInvokedEventArgs> AccessKeyInvoked;
function onAccessKeyInvoked(eventArgs) { /* Your code */ }
textElement.addEventListener("accesskeyinvoked", onAccessKeyInvoked);
textElement.removeEventListener("accesskeyinvoked", onAccessKeyInvoked);
- or -
textElement.onaccesskeyinvoked = onAccessKeyInvoked;
Public Custom Event AccessKeyInvoked As TypedEventHandler(Of TextElement, AccessKeyInvokedEventArgs) 

Event Type

Applies to

See also