Class PrefixBox
A block that prefixes the first line of its contents and aligns subsequent lines with the content that follows the prefix.
public sealed class PrefixBox : Block
- Inheritance
-
PrefixBox
- Inherited Members
Constructors
PrefixBox(Inline, Block)
Creates a prefixed block.
public PrefixBox(Inline prefix, Block contents)
Parameters
Properties
Contents
Gets the block contents.
public Block Contents { get; }
Property Value
Prefix
Gets the prefix applied to the first line.
public Inline Prefix { get; }
Property Value
Methods
Lower()
Lowers this prefixed block to simpler markup.
public override Block Lower()
Returns
- Block
The lowered block markup.