Table of Contents

Method DrawWindowTitle

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

DrawWindowTitle(Rect, ustring, int, int, int, int, TextAlignment)

Draws the title for a Window-style view incorporating padding.

public virtual void DrawWindowTitle(Rect region, ustring title, int paddingLeft, int paddingTop, int paddingRight, int paddingBottom, TextAlignment textAlignment = TextAlignment.Left)

Parameters

region Rect

Screen relative region where the frame will be drawn.

title ustring

The title for the window. The title will only be drawn if title is not null or empty and paddingTop is greater than 0.

paddingLeft int

Number of columns to pad on the left (if 0 the border will not appear on the left).

paddingTop int

Number of rows to pad on the top (if 0 the border and title will not appear on the top).

paddingRight int

Number of columns to pad on the right (if 0 the border will not appear on the right).

paddingBottom int

Number of rows to pad on the bottom (if 0 the border will not appear on the bottom).

textAlignment TextAlignment

Not yet implemented.