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(Microsoft.UI.Xaml.WinUIContract, 65536)]
enum class PlacementMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
public enum PlacementMode
Public Enum PlacementMode
<objectproperty = "enumMemberName"/>

Inheritance
PlacementMode
Attributes

Fields

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

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.

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.

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.

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