KeyTipPlacementMode Enum


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

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

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

Windows 10 requirements

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


Auto 0

The placement of the Key Tip is determined by the system.

Bottom 1

The Key Tip is placed below the element.

Center 5

The Key Tip is centered on the element.

Hidden 6

The Key Tip is not shown.

Left 3

The Key Tip is placed left of the element.

Right 4

The Key Tip is placed right of the element.

Top 2

The Key Tip is placed above the element.


This enumeration is used by the UIElement.KeyTipPlacementMode property.

Applies to

See also