Share via


PlacementMode Enum

Definition

Defines constants that specify the preferred location for positioning a ToolTip relative to a visual element.

public enum class PlacementMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class PlacementMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum PlacementMode
Public Enum PlacementMode
<objectproperty = "enumMemberName"/>

Inheritance
PlacementMode
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Bottom 2

The preferred location of the ToolTip is below the target element when element receives keyboard focus, at the bottom of the mouse pointer when element is hovered over with pointer.

Left 9

The preferred location of the ToolTip is to the left of the target element when element receives keyboard focus, to the left of the mouse pointer when element is hovered over with pointer.

Mouse 7

The preferred location of the ToolTip is with the top-left corner of the tooltip positioned at the mouse pointer location when hovered over with mouse, above the target element when focused with keyboard.

Right 4

The preferred location of the ToolTip is to the right of the target element when element receives keyboard focus, to the right of the mouse pointer when element is hovered over with pointer.

Top 10

The preferred location of the ToolTip is above the target element when element receives keyboard focus, at the top of the mouse pointer when element is hovered over with pointer.

Applies to