Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.99 KB

accesskeymanager_enterdisplaymode_473059163.md

File metadata and controls

48 lines (33 loc) · 1.99 KB
-api-id -api-type
M:Microsoft.UI.Xaml.Input.AccessKeyManager.EnterDisplayMode(Microsoft.UI.Xaml.XamlRoot)
winrt method

Microsoft.UI.Xaml.Input.AccessKeyManager.EnterDisplayMode(Microsoft.UI.Xaml.XamlRoot)

-description

Specifies that keytips for currently valid access keys should be displayed and the access keys enabled.

-parameters

-param XamlRoot

The XamlRoot for the currently focused element. Cannot be null.

-remarks

Calling this method has no effect if the scope is already in display mode. If another scope is in display mode, it will be exited.

After calling this method, the IsDisplayModeEnabled property will be true.

Call ExitDisplayMode to disable display mode.

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.

-see-also

ExitDisplayMode, IsDisplayModeEnabled, IsDisplayModeEnabledChanged, UIElement.KeyTipPlacementMode, Access keys guidelines

-examples