ScrollLayoutInfo

Class

The painted scrollbar of a scroll container, published by layout so the pointer can click and drag it.

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

Definition

public sealed record ScrollLayoutInfo : IEquatable<ScrollLayoutInfo>

Constructors

1
NameTypeDescription
ScrollLayoutInfo(string?, LayoutRect, LayoutRect, LayoutRect, int, int, int)()ConstructorThe painted scrollbar of a scroll container, published by layout so the pointer can click and drag it.

Properties

7
NameTypeDescription
Appearance
ContentHeightInt32The height of the content.
ViewportHeightInt32The height of the visible window.
Other
ScrollIdStringScroll state key, or null when the container has no engine-owned state.
ThumbLayoutRectThe thumb inside the track; empty when there is nothing to scroll.
TopInt32The applied scroll offset.
TrackLayoutRectThe track, in document coordinates.
ViewportLayoutRectThe rows that show content.

Methods

5
NameTypeDescription
Deconstruct(out string?, out LayoutRect, out LayoutRect, out LayoutRect, out int, out int, out int)()Method—
Equals(ScrollLayoutInfo?)()Boolean—
Equals(object?)()Boolean—
GetHashCode()Int32—
ToString()String—

Operators

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