mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-20 13:48:16 +08:00

committed by
Patrik Svensson

parent
effdecb1d4
commit
8a01b93aca
14
src/Spectre.Console/Rendering/Borders/NoBorder.cs
Normal file
14
src/Spectre.Console/Rendering/Borders/NoBorder.cs
Normal file
@ -0,0 +1,14 @@
|
||||
namespace Spectre.Console.Rendering
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents an invisible border.
|
||||
/// </summary>
|
||||
public sealed class NoBorder : Border
|
||||
{
|
||||
/// <inheritdoc/>
|
||||
protected override string GetBoxPart(BorderPart part)
|
||||
{
|
||||
return " ";
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user