ScrollbarSettings
ClassNamespace:
RazorConsole.Core.RenderingAssembly:
RazorConsole.CoreDefinition
public sealed record ScrollbarSettings : IEquatable<ScrollbarSettings>Constructors
1| Name | Type | Description |
|---|---|---|
ScrollbarSettings(char, char, Color?, Color?, Color?, Color?, int, Action<FocusEventArgs>?, Action<FocusEventArgs>?)() | Constructor | — |
Properties
9| Name | Type | Description |
|---|---|---|
Appearance | ||
MinThumbHeight | Int32 | Minimum height for the thumb in characters. |
ThumbColor | Color | Color for the thumb. Default is White. |
ThumbFocusedColor | Color | Color for the track when scrollbar is focused. Default is DeepSkyBlue1. |
TrackColor | Color | Color for the track. Default is Gray. |
TrackFocusedColor | Color | Color for the track when scrollbar is focused. Default is Gray74. |
Events | ||
OnFocusInCallback | Action<FocusEventArgs> | Callback, that called after focus in event, can be used for any UI changes outside scrollbar. |
OnFocusOutCallback | Action<FocusEventArgs> | Callback, that called after focus out event, can be used for any UI changes outside scrollbar. |
Other | ||
ThumbChar | Char | Character to use for the scrollbar thumb. Default is █. |
TrackChar | Char | Character to use for the scrollbar track. Default is │. |