VNodeLayoutInfo

Struct

Represents snapshot layout metadata for a virtual DOM node.

Namespace: RazorConsole.Core.Vdom
Assembly: RazorConsole.Core

Definition

public readonly struct VNodeLayoutInfo : IEquatable<VNodeLayoutInfo>

Constructors

1
NameTypeDescription
VNodeLayoutInfo(string, int?, int?, int?, int?, int?, int?, int, bool)()ConstructorRepresents snapshot layout metadata for a virtual DOM node.

Properties

11
NameTypeDescription
Behavior
VisibleBoundsNullable<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
HeightNullable<Int32>Resolved or declared height, when available.
WidthNullable<Int32>Resolved or declared width, when available.
Other
BottomNullable<Int32>Bottom offset in rows, when available.
IsCenteredBooleanWhether the node is centered by layout policy.
LeftNullable<Int32>Left offset in columns, when available.
RightNullable<Int32>Right offset in columns, when available.
ScrollScrollLayoutInfoGets the scrolling of a scroll container: its viewport, scrollbar track and thumb (both empty when no bar shows); null for other nodes.
TopNullable<Int32>Top offset in rows, when available.
VNodeIdStringThe unique identifier of the node.
ZIndexInt32Stacking order of the node.

Methods

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

Operators

2
NameTypeDescription
operator ==(VNodeLayoutInfo, VNodeLayoutInfo)()Boolean—
operator !=(VNodeLayoutInfo, VNodeLayoutInfo)()Boolean—