Share via


AccessKeyManager.IsDisplayModeEnabledChanged Event

Definition

Occurs when keytips for currently valid access keys are displayed/hidden and the access keys enabled/disabled.

// Register
static event_token IsDisplayModeEnabledChanged(TypedEventHandler<IInspectable, IInspectable const&> const& handler) const;

// Revoke with event_token
static void IsDisplayModeEnabledChanged(event_token const* cookie) const;

// Revoke with event_revoker
static AccessKeyManager::IsDisplayModeEnabledChanged_revoker IsDisplayModeEnabledChanged(auto_revoke_t, TypedEventHandler<IInspectable, IInspectable const&> const& handler) const;
public static event TypedEventHandler<object,object> IsDisplayModeEnabledChanged;
function onIsDisplayModeEnabledChanged(eventArgs) { /* Your code */ }
Microsoft.UI.Xaml.Input.AccessKeyManager.addEventListener("isdisplaymodeenabledchanged", onIsDisplayModeEnabledChanged);
Microsoft.UI.Xaml.Input.AccessKeyManager.removeEventListener("isdisplaymodeenabledchanged", onIsDisplayModeEnabledChanged);
- or -
Microsoft.UI.Xaml.Input.AccessKeyManager.onisdisplaymodeenabledchanged = onIsDisplayModeEnabledChanged;
Public Shared Custom Event IsDisplayModeEnabledChanged As TypedEventHandler(Of Object, Object) 

Event Type

TypedEventHandler<Object,Object>

TypedEventHandler<IInspectable,IInspectable>

Remarks

Note

An access key is a combination of the Alt key and one or more alphanumeric keys used to activate an associated control in an app that supports access keys (such as Word).

Key tips are badges displayed next to controls that support access keys when the user presses the Alt key. Each key tip contains the alphanumeric keys that activate the associated control.

The following image shows the Home tab of Word with access keys activated (note the support for both numbers and multiple keystrokes).

Keytip badges for access keys in Microsoft Word.

Keytip badges for access keys in Microsoft Word

See Access keys guidelines for more details.

Applies to

See also