TextElement.AccessKeyDisplayDismissed 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發生于便捷鍵順序完成以通知控制項應該隱藏便捷鍵視覺效果時。
// 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)