Property Viewport | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

Viewport

Gets or sets the rectangle describing the portion of the View's content that is visible to the user. The viewport Location is relative to the top-left corner of the inner rectangle of Padding. If the viewport Size is the same as GetContentSize(), or GetContentSize() isnull the Location will be 0, 0.

public virtual Rectangle Viewport { get; set; }

Property Value

Rectangle

The rectangle describing the location and size of the viewport into the View's virtual content, described byGetContentSize().