mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-27 13:42:51 +08:00
19 lines
355 B
Markdown
19 lines
355 B
Markdown
Title: Borders
|
|
Order: 2
|
|
---
|
|
|
|
There is different built-in borders you can use for tables and panels.
|
|
|
|
# Built-in borders
|
|
|
|
<img src="../assets/images/borders.png" style="max-width: 100%;">
|
|
|
|
# Usage
|
|
|
|
To create a table and set it's border to `SimpleHeavy` as seen in the
|
|
image above:
|
|
|
|
```csharp
|
|
var table = new Table();
|
|
table.Border = Border.SimpleHeavy;
|
|
``` |