ScrollbarOptions

Class

How a BoxWidget that hosts a ScrollViewportWidget draws its scrollbar.

Namespace: RazorConsole.Core.Layout
Assembly: RazorConsole.Core

Definition

public sealed record ScrollbarOptions : IEquatable<ScrollbarOptions>

Constructors

1
NameTypeDescription
ScrollbarOptions(ScrollbarPlacement, ScrollbarVisibility, char, char, Style?, Style?, int)()ConstructorHow a BoxWidget that hosts a ScrollViewportWidget draws its scrollbar.

Properties

9
NameTypeDescription
Appearance
DefaultThumbStyleStyleGets the thumb style used when ThumbStyle is not set.
DefaultTrackStyleStyleGets the track style used when TrackStyle is not set.
MinThumbHeightInt32—
ThumbStyleNullable<Style>—
TrackStyleNullable<Style>—
Other
PlacementScrollbarPlacement—
ThumbCharChar—
TrackCharChar—
VisibilityScrollbarVisibility—

Methods

5
NameTypeDescription
Deconstruct(out ScrollbarPlacement, out ScrollbarVisibility, out char, out char, out Style?, out Style?, out int)()Method—
Equals(ScrollbarOptions?)()Boolean—
Equals(object?)()Boolean—
GetHashCode()Int32—
ToString()String—

Operators

2
NameTypeDescription
operator ==(ScrollbarOptions?, ScrollbarOptions?)()Boolean—
operator !=(ScrollbarOptions?, ScrollbarOptions?)()Boolean—