1234567891011121314151617181920212223242526272829303132333435 |
- 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; }
- }
|