Class Stack
A vertical sequence of block markup nodes.
public sealed class Stack : Block
- Inheritance
-
Stack
- Inherited Members
Constructors
Stack(params Block[])
Creates a vertical stack from a parameter list of block nodes.
public Stack(params Block[] contents)
Parameters
contentsBlock[]The stacked block contents.
Stack(IReadOnlyList<Block>)
Creates a vertical stack of block nodes.
public Stack(IReadOnlyList<Block> contents)
Parameters
contentsIReadOnlyList<Block>The stacked block contents.
Properties
Contents
Gets the stack's block children.
public IReadOnlyList<Block> Contents { get; }