Table of Contents

Method MakeVisible

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

MakeVisible(Point?, Rectangle?)

Makes the popover visible. Base implementation performs layout and delegates to Show(IPopoverView?). Derived classes typically override to add positioning logic before calling base.

public virtual void MakeVisible(Point? idealScreenPosition = null, Rectangle? anchor = null)

Parameters

idealScreenPosition Point?

The ideal screen position for the popover. If null, uses the current mouse position.

anchor Rectangle?

The anchor rectangle to position relative to. If null, uses the Anchor property.

Remarks

Base implementation:

  1. Returns if already Visible
  2. Calls Layout()
  3. Calls Show(IPopoverView?) to make visible

Derived classes should override to insert positioning logic between steps 2 and 3.