# MermaidBlockItem

Describes one Mermaid block item. Review signatures, members, parameters, type relationships, and available reference details in ChartForgeX API reference.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidBlockDocument.cs:76](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L76)

**Modifiers**

sealed

Describes one Mermaid block item.

## Inheritance

- object
- MermaidBlockItem

## Usage

 Explore 1 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 1

- Property [MermaidBlockDocument.Items](/api/chartforgex-mermaid-mermaidblockdocument/#property-items)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidBlockItem(string id, string label, int columnSpan, BlockLayoutShape shape, bool isSpace, MermaidSourceSpan span)` [#](#constructor-ctor-string-string-int32-chartforgex-visualblocks-blocklayoutshape-boolean-chartforgex-mermaid-mermaidsourcespan) 

[MermaidBlockDocument.cs:76](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L76)

Initializes a block item.

Parameters

**id string required**

**label string required**

**columnSpan int required**

**shape ChartForgeX.VisualBlocks.BlockLayoutShape required**

**isSpace bool required**

**span ChartForgeX.Mermaid.MermaidSourceSpan required**

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string Id { get; set; }` [#](#property-id) 

[MermaidBlockDocument.cs:53](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L53)

Gets or sets the item id.

 `public string Label { get; set; }` [#](#property-label) 

[MermaidBlockDocument.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L56)

Gets or sets the display label.

 `public int ColumnSpan { get; }` [#](#property-columnspan) 

[MermaidBlockDocument.cs:59](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L59)

Gets how many columns this item spans.

 `public BlockLayoutShape Shape { get; }` [#](#property-shape) 

[MermaidBlockDocument.cs:62](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L62)

Gets the preferred item shape.

 `public bool IsSpace { get; }` [#](#property-isspace) 

[MermaidBlockDocument.cs:65](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L65)

Gets whether this item is an invisible spacer.

 `public string? ParentId { get; set; }` [#](#property-parentid) 

[MermaidBlockDocument.cs:68](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L68)

Gets or sets the containing composite ID.

 `public bool IsComposite { get; set; }` [#](#property-iscomposite) 

[MermaidBlockDocument.cs:70](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L70)

Gets or sets whether this source declaration is a composite.

 `public int? Columns { get; set; }` [#](#property-columns) 

[MermaidBlockDocument.cs:72](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L72)

Gets or sets local columns for this composite. Null inherits its enclosing grid.

 `public bool AutoColumns { get; set; }` [#](#property-autocolumns) 

[MermaidBlockDocument.cs:74](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L74)

Gets or sets whether this composite explicitly uses automatic columns.

 `public BlockLayoutArrowDirections ArrowDirections { get; set; }` [#](#property-arrowdirections) 

[MermaidBlockDocument.cs:76](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L76)

Gets or sets native directional arrow heads.

 `public List<string> Classes { get; }` [#](#property-classes) 

[MermaidBlockDocument.cs:78](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L78)

Gets class names in authored order.

 `public Dictionary<string, string> Styles { get; }` [#](#property-styles) 

[MermaidBlockDocument.cs:80](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L80)

Gets captured style declarations after the default/class/direct cascade.

 `public MermaidSourceSpan Span { get; }` [#](#property-span) 

[MermaidBlockDocument.cs:83](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidBlockDocument.cs#L83)

Gets the source span for the item statement.

<!-- PowerForge markdown artifact sha256:5B2591076248FD93D29389224B2757A73FFA516F5CE6E94CB4C4723A4B4E2603 -->
