AccessKeyManager Class

Definition

A helper class that enables access keys (mnemonics) for XAML user interfaces.

public ref class AccessKeyManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Static(Microsoft.UI.Xaml.Input.IAccessKeyManagerStatics, 65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.WebHostHidden]
class AccessKeyManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Static(typeof(Microsoft.UI.Xaml.Input.IAccessKeyManagerStatics), 65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.WebHostHidden]
public sealed class AccessKeyManager
Public NotInheritable Class AccessKeyManager
Inheritance
AccessKeyManager
Attributes
Windows.Foundation.Metadata.ContractVersionAttribute Windows.Foundation.Metadata.MarshalingBehaviorAttribute Windows.Foundation.Metadata.StaticAttribute Windows.Foundation.Metadata.ThreadingAttribute Windows.Foundation.Metadata.WebHostHiddenAttribute

Remarks

Available starting in Windows 10, version 1607.

Properties

AreKeyTipsEnabled

Gets or sets a value that specifies whether KeyTips are shown for access keys.

IsDisplayModeEnabled

Gets a value that indicates whether the app has started an access key sequence.

Methods

ExitDisplayMode()

Causes the app to exit an access key sequence.

Events

IsDisplayModeEnabledChanged

Occurs when the app enters or exits an access key sequence.

Applies to

See also