Share via


KeyTipPlacementMode Enum

Definition

Defines constants that specify where a keytip is placed in relation to a UIElement.

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

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
Auto 0

The placement of the keytip is determined by the system.

Bottom 1

The keytip is placed below the element.

Top 2

The keytip is placed above the element.

Left 3

The keytip is placed left of the element.

Right 4

The keytip is placed right of the element.

Center 5

The keytip is centered on the element.

Hidden 6

The keytip is not shown.

Remarks

Keytips are badges displayed next to controls that support access keys when the user presses the Alt key. Each keytip contains the alphanumeric keys that activate the associated control.

This enumeration is used by the UIElement.KeyTipPlacementMode property.

Applies to

See also