Enum BorderStyle
- Namespace
- SharpConsoleUI
- Assembly
- SharpConsoleUI.dll
Specifies the visual style of a window's border.
public enum BorderStyle
- Extension Methods
Fields
DoubleLine = 0Double-line border characters (╔═╗║╚╝ when active, ┌─┐│└┘ when inactive). This is the default and traditional border style.
Frameless = 4No 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 = 3No visible border. Border areas render as spaces with window background color. Layout dimensions unchanged - border space still exists but is invisible.
Rounded = 2Rounded border characters (╭─╮│╰╯).
Single = 1Single-line border characters (┌─┐│└┘).