Files
spectre.console/src/Spectre.Console/Rendering/Borders/Tables/NoTableBorder.cs
Patrik Svensson c82d8c4523 Add option to show separator between table rows (#1304)
* Add option to show separator between table rows
* Panels should show header if borders are not shown

Closes #835
2023-09-16 18:49:12 +02:00

19 lines
411 B
C#

namespace Spectre.Console.Rendering;
/// <summary>
/// Represents an invisible border.
/// </summary>
public sealed class NoTableBorder : TableBorder
{
/// <inheritdoc/>
public override bool Visible => false;
/// <inheritdoc />
public override bool SupportsRowSeparator => false;
/// <inheritdoc/>
public override string GetPart(TableBorderPart part)
{
return " ";
}
}