Dela via


UIElement.AccessKeyDisplayDismissed Event

Definition

Occurs when access keys should no longer be displayed.

// Register
event_token AccessKeyDisplayDismissed(TypedEventHandler<UIElement, AccessKeyDisplayDismissedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
UIElement::AccessKeyDisplayDismissed_revoker AccessKeyDisplayDismissed(auto_revoke_t, TypedEventHandler<UIElement, AccessKeyDisplayDismissedEventArgs const&> const& handler) const;
public event TypedEventHandler<UIElement,AccessKeyDisplayDismissedEventArgs> AccessKeyDisplayDismissed;
function onAccessKeyDisplayDismissed(eventArgs) { /* Your code */ }
uIElement.addEventListener("accesskeydisplaydismissed", onAccessKeyDisplayDismissed);
uIElement.removeEventListener("accesskeydisplaydismissed", onAccessKeyDisplayDismissed);
- or -
uIElement.onaccesskeydisplaydismissed = onAccessKeyDisplayDismissed;
Public Custom Event AccessKeyDisplayDismissed As TypedEventHandler(Of UIElement, AccessKeyDisplayDismissedEventArgs) 
<uiElement AccessKeyDisplayDismissed="eventhandler"/>

Event Type

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

This event notifies an element to hide access key visuals.

Applies to

See also