Class ScrollBarStyle
The glyphs a scroll bar draws: its track, its thumb, and an arrow for each end, which is left out when zero. An arrow takes one cell at its end of the track, and a click on it moves one cell. Colors come from DarkEffekt.Terminal.UI.UIColors and the bar’s DarkEffekt.Terminal.UI.Element.Foreground.
Assembly: DarkEffekt.Terminal.UI
Section titled “Assembly: DarkEffekt.Terminal.UI”public sealed class ScrollBarStyleFields
Section titled “Fields”Default
Section titled “Default”U+2591 light shade for the track, U+2588 full block for the thumb, no arrows.
public static readonly ScrollBarStyle DefaultArrows
Section titled “Arrows”The default glyphs with a triangle at each end.
public static readonly ScrollBarStyle ArrowsA thin line for the track, with the full block for the thumb.
public static readonly ScrollBarStyle LineVerticalTrack
Section titled “VerticalTrack”public int VerticalTrackHorizontalTrack
Section titled “HorizontalTrack”public int HorizontalTrackpublic int Thumbpublic int Uppublic int Downpublic int Leftpublic int RightMethods
Section titled “Methods”Track(Axis)
Section titled “Track(Axis)”public int Track(Axis axis)Returns
Section titled “Returns”System.Int32
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.UI.Axis | axis |
StartArrow(Axis)
Section titled “StartArrow(Axis)”public int StartArrow(Axis axis)Returns
Section titled “Returns”System.Int32
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.UI.Axis | axis |
EndArrow(Axis)
Section titled “EndArrow(Axis)”public int EndArrow(Axis axis)Returns
Section titled “Returns”System.Int32
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.UI.Axis | axis |
HasArrows(Axis)
Section titled “HasArrows(Axis)”True when both ends carry an arrow.
public bool HasArrows(Axis axis)Returns
Section titled “Returns”System.Boolean
Parameters
Section titled “Parameters”| Type | Name |
|---|---|
| DarkEffekt.Terminal.UI.Axis | axis |