Dela via


AccessKeyManager Class

Definition

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

public ref class AccessKeyManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AccessKeyManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AccessKeyManager
Public NotInheritable Class AccessKeyManager
Inheritance
Object Platform::Object IInspectable AccessKeyManager
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Available starting in Windows 10, version 1607.

Version history

Windows version SDK version Value added
1703 15063 AreKeyTipsEnabled

Additional interface members

IAccessKeyManagerStaticsDisplayMode.EnterDisplayMode(XamlRoot)Specifies that keytips for currently valid access keys should be displayed and the access keys enabled.

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