Table of Contents

Property LineStyle

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

LineStyle

Gets or sets the style of the lines drawn in the Border.

public LineStyle? LineStyle { get; set; }

Property Value

LineStyle?

Remarks

If not explicitly set, inherits from the Parent's SuperView's BorderStyle. Returns null if neither this Border nor any ancestor has a style set.

Setting this property to a non-null value causes the BorderView to be created (via GetOrCreateView()).

Available styles: Single (┌─┐│└─┘), Double (╔═╗║╚═╝), Rounded (╭─╮│╰─╯), Heavy (┏━┓┃┗━┛), and dashed/dotted variants.