API Referenceglobal
Anchoringclass
Anchors a modal next to a source panel (eg. the button that opened it), instead of it opening centered on screen. See `Sandbox.Modals.FriendsListModalOptions.Anchor`.
object→Anchoring
Constructors1
Showing 1 constructors
public Anchoring()
No results match this filter.
Properties3
Showing 3 properties
public float Sandbox.Modals.FriendsListModalOptions.Anchoring.Offset { get; set; }
Gap between `Sandbox.Modals.FriendsListModalOptions.Anchoring.Panel` and the modal.
Returns:
float—public Sandbox.UI.Panel Sandbox.Modals.FriendsListModalOptions.Anchoring.Panel { get; set; }
The panel to anchor next to.
public Sandbox.Modals.ModalAnchorPosition Sandbox.Modals.FriendsListModalOptions.Anchoring.Position { get; set; }
Which side of `Sandbox.Modals.FriendsListModalOptions.Anchoring.Panel` to anchor to.
No results match this filter.