Class TextItem
- Namespace
- combit.Reporting.Dom
- Assembly
- combit.ListLabel31.CrossPlatform.dll
Gauge text item definition (content, size, condition, rotation, background, font and position).
public class TextItem : DomItem, IDomItemWithOutputFormatter
- Inheritance
-
TextItem
- Implements
- Inherited Members
Constructors
TextItem(CollectionTextItems)
Creates and appends a text item.
public TextItem(CollectionTextItems textRegionCollection)
Parameters
textRegionCollectionCollectionTextItems
TextItem(CollectionTextItems, int)
Creates and inserts a text item at the given index.
public TextItem(CollectionTextItems textRegionCollection, int index)
Parameters
textRegionCollectionCollectionTextItemsindexint
Properties
Background
Gets the background styling.
[JsonInclude]
public PropertyTextItemBackground Background { get; }
Property Value
Condition
Gets or sets the condition expression.
public string Condition { get; set; }
Property Value
Contents
Gets or sets the text contents expression.
public string Contents { get; set; }
Property Value
Font
Gets the font settings.
[JsonInclude]
public PropertyFontExt Font { get; }
Property Value
OutputFormatter
Gets the output formatter.
[JsonInclude]
public PropertyOutputFormatterBase OutputFormatter { get; }
Property Value
Position
Gets the position definition.
[JsonInclude]
public PropertyPosition Position { get; }
Property Value
Rotation
Gets or sets the rotation expression.
public string Rotation { get; set; }
Property Value
Size
Gets or sets the size expression.
public string Size { get; set; }
Property Value
Methods
Initialize(CollectionTextItems, int)
protected void Initialize(CollectionTextItems textRegionCollection, int index)
Parameters
textRegionCollectionCollectionTextItemsindexint