VNodeLayoutInfo
StructRepresents snapshot layout metadata for a virtual DOM node.
Namespace:
RazorConsole.Core.VdomAssembly:
RazorConsole.CoreDefinition
public readonly struct VNodeLayoutInfo : IEquatable<VNodeLayoutInfo>Constructors
1| Name | Type | Description |
|---|---|---|
VNodeLayoutInfo(string, int?, int?, int?, int?, int?, int?, int, bool)() | Constructor | Represents snapshot layout metadata for a virtual DOM node. |
Properties
11| Name | Type | Description |
|---|---|---|
Behavior | ||
VisibleBounds | Nullable<LayoutRect> | Gets the part of the node's rectangle that is actually visible after clipping by scroll viewports. null when layout did not compute it. Empty when the node is scrolled out of view. |
Appearance | ||
Height | Nullable<Int32> | Resolved or declared height, when available. |
Width | Nullable<Int32> | Resolved or declared width, when available. |
Other | ||
Bottom | Nullable<Int32> | Bottom offset in rows, when available. |
IsCentered | Boolean | Whether the node is centered by layout policy. |
Left | Nullable<Int32> | Left offset in columns, when available. |
Right | Nullable<Int32> | Right offset in columns, when available. |
Scroll | ScrollLayoutInfo | Gets the scrolling of a scroll container: its viewport, scrollbar track and thumb (both empty when no bar shows); null for other nodes. |
Top | Nullable<Int32> | Top offset in rows, when available. |
VNodeId | String | The unique identifier of the node. |
ZIndex | Int32 | Stacking order of the node. |