Table of Contents

Property Border

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Border

The Adornment that offsets the Viewport from the Margin.

The Border provides the space for a visual border (drawn using line-drawing glyphs) and the Title. The Border expands inward; in other words if `Border.Thickness.Top == 2` the border and title will take up the first row and the second row will be filled with spaces.

The Border provides the UI for mouse and keyboard arrangement of the View. See Arrangement.

public Border Border { get; }

Property Value

Border

Remarks

BorderStyle provides a simple helper for turning a simple border frame on or off.

The adornments (Margin, Border, and Padding) are not part of the View's content and are not clipped by the View's Clip Area.

Changing the size of a frame (Margin, Border, or Padding) will change the size of the Frame and trigger LayoutSubviews() to update the layout of the SuperView and its Subviews.