A renderable piece of markup text.
Properties
Justification
: Justify?Gets or sets the justification.
Length
: intGets the character count.
Lines
: intGets the number of lines.
Overflow
: Overflow?Gets or sets the text overflow strategy.
Methods
public static string Escape(string text)
Escapes text so that it won’t be interpreted as markup.
Parameters:
text (string)The text to escape.
Returns:
A string that is safe to use in markup.
public static string Remove(string text)
Removes markup from the specified string.
Parameters:
text (string)The text to remove markup from.
Returns:
A string that does not have any markup.