LayoutBox

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

Definition

public sealed record LayoutBox : IEquatable<LayoutBox>

Constructors

1
NameTypeDescription
LayoutBox(string, LayoutRect, int, IReadOnlyList<LayoutBox>)()Constructor—

Properties

7
NameTypeDescription
Behavior
VisibleBoundsLayoutRectGets Bounds limited by Clip; empty when scrolled out of view.
Other
BoundsLayoutRect—
ChildrenIReadOnlyList<LayoutBox>—
ClipNullable<LayoutRect>Gets the clip inherited from the nearest scroll viewport ancestor, or null when unclipped.
ScrollScrollLayoutInfoGets the scrollbar of a scroll container that can be clicked and dragged, or null.
VNodeIdString—
ZIndexInt32—

Methods

6
NameTypeDescription
Deconstruct(out string, out LayoutRect, out int, out IReadOnlyList<LayoutBox>)()Method—
Equals(LayoutBox?)()Boolean—
Equals(object?)()Boolean—
GetHashCode()Int32—
ToLayoutInfo(bool, int)()VNodeLayoutInfo—
ToString()String—

Operators

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