BlockLayoutItem
ChartForgeX.VisualBlocks
Describes one item in a deterministic block layout.
Inheritance
- object
- BlockLayoutItem
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property BlockLayoutBlock.Items
- Method BlockLayoutItem.Clone
Constructors
public BlockLayoutItem(string id, string label, int columnSpan = 1, BlockLayoutShape shape = Rectangle, bool isSpace = false) #Initializes a block layout item.
Parameters
- id string
- label string
- columnSpan int = 1
- shape ChartForgeX.VisualBlocks.BlockLayoutShape = Rectangle
- isSpace bool = false
Methods
public BlockLayoutItem Clone() #Creates an independent item copy, including mutable caption and source metadata values.
Returns
BlockLayoutItemInherited Methods
Properties
public int ColumnSpan { get; set; } #Gets or sets how many layout columns this item spans.
public BlockLayoutShape Shape { get; set; } #Gets or sets the preferred item shape.
public string? ParentId { get; set; } #Gets or sets the containing composite ID. Null or empty places the item in the root grid.
public bool IsComposite { get; set; } #Gets or sets whether this item contains its own source-ordered grid.
public int? Columns { get; set; } #Gets or sets a composite's local fixed column count. Null inherits the enclosing grid; explicit auto takes precedence.
public bool AutoColumns { get; set; } #Gets or sets whether this composite's children occupy one row in authored order.
public BlockLayoutArrowDirections ArrowDirections { get; set; } #Gets or sets filled arrow directions. Used only by Arrow; the default is a right-pointing arrow.
public ChartColor? Fill { get; set; } #Gets or sets the optional captured fill; null retains the theme palette.
public ChartStrokeStyle? Stroke { get; set; } #Gets or sets immutable outline overrides.
public TextStyleOverride TextStyle { get; private set; } #Gets measured font, color, case, language, variation and palette overrides. Decorated/scripted baselines are rejected before paint.
public Dictionary<string, string> Metadata { get; private set; } #Gets retained source facts. Metadata is not interpreted as CSS or markup.