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

9
NameTypeDescription
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.
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—