sealed class Tinman.Core.Cx.XmlDoc.CxXmlDocItemText

Derived from

CxXmlDocItem abstract

A paragraph content item that represents textual content, including leading and trailing spacing.

Public / Constants


public static readonly attribute Escape → (StringEscape)

The escaping rule for XML entities in textual content.

Public / Constructors


public constructor CxXmlDocItemText → (4)

content in : string

The textual content which may include leading or trailing whitespaces and XML entities. See Content.

entities opt : bool = false

Does content in contain XML entities that must be processed with Escape?

code opt : bool = false

See IsCode.

flags opt : WhitespaceFlags = WhitespaceFlags.None

Additional whitespace flags to add.

Creates a new instance of CxXmlDocItemText.

Public / Attributes


public attribute Content → (get)

value : string

The textual content.

Returns the textual content.

Textual content does not include leading spacing, trailing spacing or XML entities.


public attribute IsCode → (get)

value : bool

true if the textual content is an inline code fragment,
false if not.

Returns if the textual content is an inline code fragment.