Phil Scott 223642b797
Add blog to docs (#484)
* Adding social card infrastructure
* Upgrades doc project to .NET 6
* Adds Playwright
* Changes the console to a web project for Playwright
* Adds social card template
* Added blog content
* Parallelized social image processing
* Updating CI to use .NET 6 for docs build
2021-07-15 19:53:01 +02:00

735 B

Title: Borders Order: 2 Description: "Spectre.Console makes it easy to create tables and panels with a variety of different styles of borders." Highlights: - Rounded - Square - Heavy - And more...

There is different built-in borders you can use for tables and panels.

Table borders

Examples of table borders

Example

To set a table border to SimpleHeavy:

var table = new Table();
table.Border = TableBorder.SimpleHeavy;

Panel borders

Examples of panel borders

Example

To set a panel border to Rounded:

var panel = new Panel("Hello World");
panel.Border = BoxBorder.Rounded;