ScrollbarOptions
ClassHow a BoxWidget that hosts a ScrollViewportWidget draws its scrollbar.
Namespace:
RazorConsole.Core.LayoutAssembly:
RazorConsole.CoreDefinition
public sealed record ScrollbarOptions : IEquatable<ScrollbarOptions>Constructors
1| Name | Type | Description |
|---|---|---|
ScrollbarOptions(ScrollbarPlacement, ScrollbarVisibility, char, char, Style?, Style?, int)() | Constructor | How a BoxWidget that hosts a ScrollViewportWidget draws its scrollbar. |
Properties
9| Name | Type | Description |
|---|---|---|
Appearance | ||
DefaultThumbStyle | Style | Gets the thumb style used when ThumbStyle is not set. |
DefaultTrackStyle | Style | Gets the track style used when TrackStyle is not set. |
MinThumbHeight | Int32 | — |
ThumbStyle | Nullable<Style> | — |
TrackStyle | Nullable<Style> | — |
Other | ||
Placement | ScrollbarPlacement | — |
ThumbChar | Char | — |
TrackChar | Char | — |
Visibility | ScrollbarVisibility | — |