Bagikan melalui


TextElement.AccessKeyDisplayRequested Kejadian

Definisi

Terjadi ketika urutan kunci akses mulai memberi tahu kontrol bahwa mereka harus menampilkan visual kunci akses.

// Register
event_token AccessKeyDisplayRequested(TypedEventHandler<TextElement, AccessKeyDisplayRequestedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
TextElement::AccessKeyDisplayRequested_revoker AccessKeyDisplayRequested(auto_revoke_t, TypedEventHandler<TextElement, AccessKeyDisplayRequestedEventArgs const&> const& handler) const;
public event TypedEventHandler<TextElement,AccessKeyDisplayRequestedEventArgs> AccessKeyDisplayRequested;
function onAccessKeyDisplayRequested(eventArgs) { /* Your code */ }
textElement.addEventListener("accesskeydisplayrequested", onAccessKeyDisplayRequested);
textElement.removeEventListener("accesskeydisplayrequested", onAccessKeyDisplayRequested);
- or -
textElement.onaccesskeydisplayrequested = onAccessKeyDisplayRequested;
Public Custom Event AccessKeyDisplayRequested As TypedEventHandler(Of TextElement, AccessKeyDisplayRequestedEventArgs) 

Jenis Acara

Keterangan

Kejadian ini tidak dinaikkan jika elemen berada di bawah elemen dengan properti UIElement.Visibility-nya diatur ke Diciutkan.

Berlaku untuk

Lihat juga