Udostępnij za pośrednictwem


KeyboardAcceleratorPlacementMode Enum

Definition

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

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

Windows requirements

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

Fields

Name Value Description
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