mirror of
https://github.com/spectreconsole/spectre.console.git
synced 2025-10-25 15:19:23 +00:00
* Add option to show separator between table rows * Panels should show header if borders are not shown Closes #835
19 lines
411 B
C#
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 " ";
|
|
}
|
|
} |