IAccessKeyManagerStaticsDisplayMode.EnterDisplayMode(XamlRoot) method

Definition

Namespace: Windows.UI.Xaml.Input

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

[uuid(3e602318-59f6-5f2c-9752-bcbb9c907d45)]
interface IAccessKeyManagerStaticsDisplayMode 
{
    void EnterDisplayMode(Windows.UI.Xaml.XamlRoot xamlRoot);
};

Parameters

xamlRoot XamlRoot

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

Windows requirements

Device familyWindows 11, version 22H2 (introduced in 10.0.22621.0)

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.