Api PositionMode
enum

PositionMode

public sealed enum PositionMode : Enum

Dictates where a Popup is positioned.

Enum Values

Name Value Description
Left To the left of the source panel, centered.
Right To the right of the source panel, centered.
LeftBottom To the left of the source panel, aligned to the bottom.
RightBottom To the right of the source panel, aligned to the bottom.
AboveLeft Above the source panel, aligned to the left.
BelowLeft Below the source panel, aliging on the left. Do not stretch to size of PopupSource.
BelowCenter Below the source panel, centered horizontally.
BelowStretch Below the source panel, stretch to the width of the PopupSource.
AboveCenter Above, centered
UnderMouse Position where the mouse cursor is currently
Assembly: Base Library Declaring Type: Popup Full Name: Sandbox.UI.Popup.PositionMode