Table of Contents

Enum BorderStyle

Namespace
SharpConsoleUI
Assembly
SharpConsoleUI.dll

Specifies the visual style of a window's border.

public enum BorderStyle
Extension Methods

Fields

DoubleLine = 0

Double-line border characters (╔═╗║╚╝ when active, ┌─┐│└┘ when inactive). This is the default and traditional border style.

Frameless = 4

No frame at all. Content fills the entire window rect (no reserved border/title row or column). The window has no interactive frame — no title bar, drag-to-move handle, resize edges, resize grip, or title buttons — so frame areas cannot be clicked; all mouse events go to content. Move/resize remain possible programmatically (SetPosition/SetSize) or via keyboard. Distinct from None, which keeps a 1-cell invisible frame.

None = 3

No visible border. Border areas render as spaces with window background color. Layout dimensions unchanged - border space still exists but is invisible.

Rounded = 2

Rounded border characters (╭─╮│╰╯).

Single = 1

Single-line border characters (┌─┐│└┘).