Share via


KeyTipPlacementMode Enum

Definition

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

public enum class KeyTipPlacementMode
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class KeyTipPlacementMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum KeyTipPlacementMode
Public Enum KeyTipPlacementMode
Inheritance
KeyTipPlacementMode
Attributes

Fields

Name Value Description
Auto 0

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

Bottom 1

The Key Tip is placed below the element.

Top 2

The Key Tip is placed above the element.

Left 3

The Key Tip is placed left of the element.

Right 4

The Key Tip is placed right of the element.

Center 5

The Key Tip is centered on the element.

Hidden 6

The Key Tip 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