Table of Contents

Property Screen

Namespace
Terminal.Gui.App
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 IDriver.

[Obsolete("The legacy static Application object is going away.")]
public static Rectangle Screen { get; set; }

Property Value

Rectangle

Remarks

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