LayoutBox
ClassNamespace:
RazorConsole.Core.LayoutAssembly:
RazorConsole.CoreDefinition
public sealed record LayoutBox : IEquatable<LayoutBox>Constructors
1| Name | Type | Description |
|---|---|---|
LayoutBox(string, LayoutRect, int, IReadOnlyList<LayoutBox>)() | Constructor | — |
Properties
7| Name | Type | Description |
|---|---|---|
Behavior | ||
VisibleBounds | LayoutRect | Gets Bounds limited by Clip; empty when scrolled out of view. |
Other | ||
Bounds | LayoutRect | — |
Children | IReadOnlyList<LayoutBox> | — |
Clip | Nullable<LayoutRect> | Gets the clip inherited from the nearest scroll viewport ancestor, or null when unclipped. |
Scroll | ScrollLayoutInfo | Gets the scrollbar of a scroll container that can be clicked and dragged, or null. |
VNodeId | String | — |
ZIndex | Int32 | — |
Methods
6| Name | Type | Description |
|---|---|---|
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 | — |