Class Text

Namespace
Pixie.Markup
Assembly
Pixie.dll

A markup node that renders a string of text.

public sealed class Text : Inline
Inheritance
Text
Inherited Members

Constructors

Text(string)

Creates a text node from a string.

public Text(string text)

Parameters

text string

A text string.

Properties

Contents

Gets the text this node consists of.

public string Contents { get; }

Property Value

string

A text string.

Methods

IsEmpty(Inline)

Tells if a markup node is certainly an empty node.

public static bool IsEmpty(Inline node)

Parameters

node Inline

The markup node to examine.

Returns

bool

true if the node is certainly an empty node; otherwise, false.