KeyboardAcceleratorPlacementMode Enum

Definition

Defines constants that specify whether a keyboard shortcut (accelerator) is displayed.

Equivalent WinUI enum: Microsoft.UI.Xaml.Input.KeyboardAcceleratorPlacementMode.

public enum class KeyboardAcceleratorPlacementMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum KeyboardAcceleratorPlacementMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum KeyboardAcceleratorPlacementMode
Public Enum KeyboardAcceleratorPlacementMode
Inheritance
KeyboardAcceleratorPlacementMode
Attributes

Windows 10 requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Auto 0

The keyboard accelerator is displayed. Default.

Hidden 1

The keyboard accelerator is not shown.

Remarks

This enumeration is used by the UIElement.KeyboardAcceleratorPlacementMode property.

Applies to

See also