CellContainerInfo Class#
Describes the layout position and size of a cell container within the notebook canvas.
public sealed record CellContainerInfo : System.IEquatable<Verso.Abstractions.CellContainerInfo>
Inheritance System.Object → CellContainerInfo
Implements System.IEquatable<CellContainerInfo>
Constructors#
CellContainerInfo(Guid, double, double, double, double, bool) Constructor#
Describes the layout position and size of a cell container within the notebook canvas.
public CellContainerInfo(System.Guid CellId, double X, double Y, double Width, double Height, bool IsVisible=true);
Parameters#
CellId System.Guid
The unique identifier of the cell.
The horizontal offset of the cell container, in device-independent pixels.
The vertical offset of the cell container, in device-independent pixels.
Width System.Double
The width of the cell container, in device-independent pixels.
Height System.Double
The height of the cell container, in device-independent pixels.
IsVisible System.Boolean
Indicates whether the cell container is visible in the viewport. Defaults to true.
Properties#
CellId Property#
The unique identifier of the cell.
public System.Guid CellId { get; init; }
Property Value#
Height Property#
The height of the cell container, in device-independent pixels.
public double Height { get; init; }
Property Value#
IsVisible Property#
Indicates whether the cell container is visible in the viewport. Defaults to true.
public bool IsVisible { get; init; }
Property Value#
Width Property#
The width of the cell container, in device-independent pixels.
public double Width { get; init; }
Property Value#
X Property#
The horizontal offset of the cell container, in device-independent pixels.
public double X { get; init; }
Property Value#
Y Property#
The vertical offset of the cell container, in device-independent pixels.
public double Y { get; init; }