TextElement.AccessKeyDisplayRequested Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the access key sequence is started to notify controls that they should show access key visuals.
// 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)
Event Type
Remarks
This event is not raised if the element is under an element with its UIElement.Visibility property set to Collapsed.