Docs · API reference · Verso.Abstractions
ICellRenderContext Interface#
Context provided to cell renderers when rendering a cell's visual output. Extends IVersoContext with cell layout and state information.
public interface ICellRenderContext : Verso.Abstractions.IVersoContext
Implements IVersoContext
Properties#
CellId Property#
Gets the unique identifier of the cell being rendered.
System.Guid CellId { get; }
Property Value#
CellMetadata Property#
Gets the read-only metadata dictionary attached to the cell.
System.Collections.Generic.IReadOnlyDictionary<string,object> CellMetadata { get; }
Property Value#
System.Collections.Generic.IReadOnlyDictionary<System.String,System.Object>
Dimensions Property#
Gets the available rendering dimensions (width and height) in device-independent units.
(double Width,double Height) Dimensions { get; }
Property Value#
IsSelected Property#
Gets a value indicating whether the cell is currently selected in the notebook UI.
bool IsSelected { get; }