[]
        
(Showing Draft Content)

C1.Framework.TextElement

TextElement Class

Element that displays a string.

Alignment and formatting are controlled by the element's Style.

Inheritance
TextElement
Implements
Namespace: C1.Framework
Assembly: C1.Win.4.8.dll
Syntax
public class TextElement : ContentElement, ISupportUia

Constructors

Name Description
TextElement()

Initializes a new instance of an empty TextElement.

TextElement(Style)

Initializes a new instance of a TextElement with a given style.

TextElement(Style, string)

Initializes a new instance of a TextElement with a given style and contents.

TextElement(string)

Initializes a new instance of a TextElement with a given text.

Properties

Name Description
ForceLineBreak

Gets a Element.LineBreak value that determines whether there should be line breaks before and/or after this TextElement when it occurs in a paragraph.

Text

Gets or sets the string displayed by this TextElement.

Methods

Name Description
GetValue()

Gets the string represented by this TextElement.