mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-30 09:47:58 +01:00
35 lines
1.4 KiB
C#
35 lines
1.4 KiB
C#
namespace Terminal.Gui;
|
|
|
|
/// <summary><see cref="Slider{T}"/> Style</summary>
|
|
public class SliderStyle
|
|
{
|
|
/// <summary>Constructs a new instance.</summary>
|
|
public SliderStyle () { LegendAttributes = new (); }
|
|
|
|
/// <summary>The glyph and the attribute to indicate mouse dragging.</summary>
|
|
public Cell DragChar { get; set; }
|
|
|
|
/// <summary>The glyph and the attribute used for empty spaces on the slider.</summary>
|
|
public Cell EmptyChar { get; set; }
|
|
|
|
/// <summary>The glyph and the attribute used for the end of ranges on the slider.</summary>
|
|
public Cell EndRangeChar { get; set; }
|
|
|
|
/// <summary>Legend attributes</summary>
|
|
public SliderAttributes LegendAttributes { get; set; }
|
|
|
|
/// <summary>The glyph and the attribute used for each option (tick) on the slider.</summary>
|
|
public Cell OptionChar { get; set; }
|
|
|
|
/// <summary>The glyph and the attribute used for filling in ranges on the slider.</summary>
|
|
public Cell RangeChar { get; set; }
|
|
|
|
/// <summary>The glyph and the attribute used for options (ticks) that are set on the slider.</summary>
|
|
public Cell SetChar { get; set; }
|
|
|
|
/// <summary>The glyph and the attribute used for spaces between options (ticks) on the slider.</summary>
|
|
public Cell SpaceChar { get; set; }
|
|
|
|
/// <summary>The glyph and the attribute used for the start of ranges on the slider.</summary>
|
|
public Cell StartRangeChar { get; set; }
|
|
} |