ScrollLayoutInfo
ClassThe painted scrollbar of a scroll container, published by layout so the pointer can click and drag it.
Namespace:
RazorConsole.Core.LayoutAssembly:
RazorConsole.CoreDefinition
public sealed record ScrollLayoutInfo : IEquatable<ScrollLayoutInfo>Constructors
1| Name | Type | Description |
|---|---|---|
ScrollLayoutInfo(string?, LayoutRect, LayoutRect, LayoutRect, int, int, int)() | Constructor | The painted scrollbar of a scroll container, published by layout so the pointer can click and drag it. |
Properties
7| Name | Type | Description |
|---|---|---|
Appearance | ||
ContentHeight | Int32 | The height of the content. |
ViewportHeight | Int32 | The height of the visible window. |
Other | ||
ScrollId | String | Scroll state key, or null when the container has no engine-owned state. |
Thumb | LayoutRect | The thumb inside the track; empty when there is nothing to scroll. |
Top | Int32 | The applied scroll offset. |
Track | LayoutRect | The track, in document coordinates. |
Viewport | LayoutRect | The rows that show content. |