mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-26 13:12:50 +08:00

* Add option to show separator between table rows * Panels should show header if borders are not shown Closes #835
32 lines
616 B
C#
32 lines
616 B
C#
namespace Spectre.Console.Rendering;
|
|
|
|
/// <summary>
|
|
/// Represents different parts of a table.
|
|
/// </summary>
|
|
public enum TablePart
|
|
{
|
|
/// <summary>
|
|
/// The top of a table.
|
|
/// </summary>
|
|
Top,
|
|
|
|
/// <summary>
|
|
/// The separator between the header and the cells.
|
|
/// </summary>
|
|
HeaderSeparator,
|
|
|
|
/// <summary>
|
|
/// The separator between the rows.
|
|
/// </summary>
|
|
RowSeparator,
|
|
|
|
/// <summary>
|
|
/// The separator between the footer and the cells.
|
|
/// </summary>
|
|
FooterSeparator,
|
|
|
|
/// <summary>
|
|
/// The bottom of a table.
|
|
/// </summary>
|
|
Bottom,
|
|
} |