UIElement.AccessKeyInvoked 이벤트

정의

사용자가 액세스 키 시퀀스를 완료할 때 발생합니다.

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

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

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

이벤트 유형

Windows 요구 사항

디바이스 패밀리
Windows 10 Anniversary Edition (10.0.14393.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v3.0에서 도입되었습니다.)

설명

이 이벤트는 액세스 키 시퀀스와 연결된 작업을 호출해야 했음을 나타냅니다. 예를 들어 요소의 AccessKey 가 "A"이고 사용자가 Alt-A를 누르면 됩니다.

액세스 키에는 하나 이상의 문자가 있을 수 있습니다. 이 이벤트는 사용자가 액세스 키의 모든 문자를 입력할 때만 발생합니다. 예를 들어 AccessKey 값이 "BC"인 경우 사용자가 "B"를 누를 때 이벤트가 발생하지 않습니다. 이 이벤트는 사용자가 "B", "C"를 누를 때 발생합니다.

이 이벤트는 키가 놓일 때가 아니라 키를 누를 때 발생합니다.

적용 대상

추가 정보