Class PrefixBox

Namespace
Pixie.Markup
Assembly
Pixie.dll

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

prefix Inline

The prefix applied to the first line.

contents Block

The block contents.

Properties

Contents

Gets the block contents.

public Block Contents { get; }

Property Value

Block

Prefix

Gets the prefix applied to the first line.

public Inline Prefix { get; }

Property Value

Inline

Methods

Lower()

Lowers this prefixed block to simpler markup.

public override Block Lower()

Returns

Block

The lowered block markup.