Struct ScrollbarPalette
- Namespace
- SharpConsoleUI.Helpers.Scrollbar
- Assembly
- SharpConsoleUI.dll
The three colours a scrollbar paints with.
public readonly record struct ScrollbarPalette : IEquatable<ScrollbarPalette>
- Implements
- Inherited Members
- Extension Methods
Constructors
ScrollbarPalette(Color, Color, Color)
The three colours a scrollbar paints with.
public ScrollbarPalette(Color Thumb, Color Track, Color Background)
Parameters
ThumbColorThe draggable thumb, and the arrows.
TrackColorThe groove behind the thumb.
BackgroundColorCell background for every scrollbar cell.
Properties
Background
Cell background for every scrollbar cell.
public Color Background { get; init; }
Property Value
Thumb
The draggable thumb, and the arrows.
public Color Thumb { get; init; }
Property Value
Track
The groove behind the thumb.
public Color Track { get; init; }