mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-31 02:08:03 +01:00
* Move all public nested classes out into own files * Move more nested classes out * Tidy up and treat CA1034 as an error. Fix remaining nested classes. * Remove partial keyword from ThemeManager as it is no longer needed * Rename Bar to BarSeriesBar to more clearly indicate it is part of GraphView subsystem * Fix xmldoc references * Revert nesting changes to ConsoleDrivers * Change to file scoped namespaces and revert renames - LineCanvasCell back to just Cell - ApplicationRunState back to just RunState * Switch to file scoped namespaces
29 lines
860 B
C#
29 lines
860 B
C#
namespace Terminal.Gui;
|
|
|
|
/// <summary>
|
|
/// Describes render stylistic selections of a <see cref="TabView"/>
|
|
/// </summary>
|
|
public class TabStyle {
|
|
|
|
/// <summary>
|
|
/// True to show the top lip of tabs. False to directly begin with tab text during
|
|
/// rendering. When true header line occupies 3 rows, when false only 2.
|
|
/// Defaults to true.
|
|
///
|
|
/// <para>When <see cref="TabsOnBottom"/> is enabled this instead applies to the
|
|
/// bottommost line of the control</para>
|
|
/// </summary>
|
|
public bool ShowTopLine { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// True to show a solid box around the edge of the control. Defaults to true.
|
|
/// </summary>
|
|
public bool ShowBorder { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// True to render tabs at the bottom of the view instead of the top
|
|
/// </summary>
|
|
public bool TabsOnBottom { get; set; } = false;
|
|
|
|
}
|