Table of Contents

Class DrawEventArgs

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Event args for draw events

public class DrawEventArgs : CancelEventArgs
Inheritance
DrawEventArgs
Inherited Members

Constructors

DrawEventArgs(Rectangle, Rectangle, DrawContext?)

Creates a new instance of the DrawEventArgs class.

Properties

DrawContext

Add any regions that have been drawn to during Draw(IEnumerable<View>, bool) operations to this context. This is primarily in support of Transparent.

NewViewport

Gets the Content-relative rectangle describing the currently visible viewport into the View.

OldViewport

Gets the Content-relative rectangle describing the old visible viewport into the View.