TextElement.AccessKeyDisplayDismissed 事件

定义

当访问键序列完成以通知控件应隐藏访问键视觉对象时发生。

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

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

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

事件类型

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于

另请参阅