Skip to content

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.

Declaration
public sealed class ScrollBarStyle

U+2591 light shade for the track, U+2588 full block for the thumb, no arrows.

Declaration
public static readonly ScrollBarStyle Default

The default glyphs with a triangle at each end.

Declaration
public static readonly ScrollBarStyle Arrows

A thin line for the track, with the full block for the thumb.

Declaration
public static readonly ScrollBarStyle Line
Declaration
public int VerticalTrack
Declaration
public int HorizontalTrack
Declaration
public int Thumb
Declaration
public int Up
Declaration
public int Down
Declaration
public int Left
Declaration
public int Right
Declaration
public int Track(Axis axis)

System.Int32

Type Name
DarkEffekt.Terminal.UI.Axis axis
Declaration
public int StartArrow(Axis axis)

System.Int32

Type Name
DarkEffekt.Terminal.UI.Axis axis
Declaration
public int EndArrow(Axis axis)

System.Int32

Type Name
DarkEffekt.Terminal.UI.Axis axis

True when both ends carry an arrow.

Declaration
public bool HasArrows(Axis axis)

System.Boolean

Type Name
DarkEffekt.Terminal.UI.Axis axis