Table of Contents

Property BorderStyle

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

BorderStyle

Gets or sets whether the view has a one row/col thick border.

public LineStyle BorderStyle { get; set; }

Property Value

LineStyle

Remarks

This is a helper for manipulating the view's Border. Setting this property to any value other than None is equivalent to setting Border's Thickness to `1` and BorderStyle to the value.

Setting this property to None is equivalent to setting Border's Thickness to `0` and BorderStyle to None.

Calls OnBorderStyleChanging(CancelEventArgs<LineStyle>) and raises BorderStyleChanging, which allows change to be cancelled.

For more advanced customization of the view's border, manipulate see Border directly.