AccessKeyManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
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.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AccessKeyManager
Public NotInheritable Class AccessKeyManager
- Inheritance
- Attributes
Properties
AreKeyTipsEnabled |
Gets or sets a value that specifies whether KeyTips are shown for access keys. |
IsDisplayModeEnabled |
Gets a value that indicates whether keytips for currently valid access keys are displayed and the access keys enabled. |
Methods
EnterDisplayMode(XamlRoot) |
Specifies that keytips for currently valid access keys should be displayed and the access keys enabled. |
ExitDisplayMode() |
Specifies that keytips for currently valid access keys should not be displayed. |
Events
IsDisplayModeEnabledChanged |
Occurs when keytips for currently valid access keys are displayed/hidden and the access keys enabled/disabled. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for