Table of Contents

Class TableField

Namespace
combit.Reporting.Dom
Assembly
combit.ListLabel31.CrossPlatform.dll

Base (polymorphic) table field DOM node used for all concrete table field types (text, chart, barcode, etc.). Provides common properties like Condition, Name, Filling, Frame and Width.

[JsonDerivedType(typeof(TableFieldBarcode), "barcode")]
[JsonDerivedType(typeof(TableFieldBase), "base")]
[JsonDerivedType(typeof(TableFieldChart), "chart")]
[JsonDerivedType(typeof(TableFieldCheckbox), "checkbox")]
[JsonDerivedType(typeof(TableFieldDataGraphic), "dataGraphic")]
[JsonDerivedType(typeof(TableFieldDrawing), "drawing")]
[JsonDerivedType(typeof(TableFieldExtensionObject), "extension")]
[JsonDerivedType(typeof(TableFieldGauge), "gauge")]
[JsonDerivedType(typeof(TableFieldHtml), "html")]
[JsonDerivedType(typeof(TableFieldPdf), "pdf")]
[JsonDerivedType(typeof(TableFieldRtf), "rtf")]
[JsonDerivedType(typeof(TableFieldTable), "table")]
[JsonDerivedType(typeof(TableFieldText), "text")]
[JsonDerivedType(typeof(TableInputFieldButton), "inputFieldButton")]
[JsonDerivedType(typeof(TableInputFieldCheckbox), "inputFieldCheckbox")]
[JsonDerivedType(typeof(TableInputFieldComboBox), "inputFieldComboBox")]
[JsonDerivedType(typeof(TableInputFieldEdit), "inputFieldEdit")]
public class TableField : DomItem
Inheritance
TableField
Derived
Inherited Members

Constructors

TableField(string, CollectionTableFieldBases, int)

Creates and inserts a new table field of the specified objectType at index inside the collection.

protected TableField(string objectType, CollectionTableFieldBases itemCollection, int index)

Parameters

objectType string
itemCollection CollectionTableFieldBases
index int

Properties

Condition

Gets or sets the condition (visibility) expression.

public string Condition { get; set; }

Property Value

string

Filling

Gets the filling definition (background, gradients, bitmap, etc.).

[JsonInclude]
public virtual PropertyFillingWithBitmap Filling { get; }

Property Value

PropertyFillingWithBitmap

Frame

Gets the frame formatting for the field.

[JsonInclude]
public virtual PropertyFrameExt Frame { get; }

Property Value

PropertyFrameExt

Name

Gets or sets the internal field name (used for scripting/report layout references).

public string Name { get; set; }

Property Value

string

Width

Gets or sets the width (SCM units).

public string Width { get; set; }

Property Value

string

Methods

HandleZebraFilling()

Handles the zebra filling for the table field.

protected void HandleZebraFilling()

Remarks

This method checks the current object and sub-item in the parent project renderer. If the current object is an ObjectReportContainer, it assigns its zebra filling to null. If the current sub-item is a SubItemTable, it assigns the zebra pattern from the line options to the zebra filling if the index indicates a filled line.