Class Text
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
textstringA 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
nodeInlineThe markup node to examine.
Returns
- bool
trueif the node is certainly an empty node; otherwise,false.