Table of Contents

Property Screen

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Screen

Gets or sets the size of the screen. By default, this is the size of the screen as reported by the IConsoleDriver.

public static Rectangle Screen { get; set; }

Property Value

Rectangle

Remarks

If the IConsoleDriver has not been initialized, this will return a default size of 2048x2048; useful for unit tests.