PreferredTooltipLocation

public enum PreferredTooltipLocation

Specifies the preferred location to place a tooltip relative to a view.

  • Defined by the underlying system.

    Declaration

    Swift

    case systemDefined
  • Tooltip is displayed anchored to the right side of the view.

    Declaration

    Swift

    case right
  • Tooltip is displayed anchored to the left side of the view.

    Declaration

    Swift

    case left
  • top

    Tooltip is displayed anchored to the top of the view.

    Declaration

    Swift

    case top
  • Tooltip is displayed anchored to the bottom of the view.

    Declaration

    Swift

    case bottom
  • Tooltip is displayed atop the view specified by a TooltipProvider.

    Declaration

    Swift

    case inPlace
  • Tooltip is displayed besides the mouse at the time the tooltip is first displayed.

    The tooltip’s location can remain fixed afterwards.

    Declaration

    Swift

    case nextToMouse
  • The tooltip should follow the mouse cursor as it moves around the screen.

    Declaration

    Swift

    case followingMouse