Table of Contents

Property Viewport

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Viewport

Gets the rectangle that describes the area of the Adornment. The Location is always (0,0). The size is the size of the Frame.

public override Rectangle Viewport { get; set; }

Property Value

Rectangle

Remarks

The Viewport of an Adornment cannot be modified. Attempting to set this property will throw an InvalidOperationException.