Class TableField
- Namespace
- combit.Reporting.Dom
- Assembly
- combit.ListLabel32.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
Properties
Condition
Gets or sets the condition (visibility) expression.
public string Condition { get; set; }
Property Value
DefaultWidth
Gets the default width applied to this table field during property initialization. Derived classes override this to supply a field-specific default.
protected virtual string DefaultWidth { get; }
Property Value
- string
The default width value, in internal units.
Filling
Gets the filling definition (background, gradients, bitmap, etc.).
[JsonInclude]
public virtual PropertyFillingWithBitmap Filling { get; }
Property Value
Frame
Gets the frame formatting for the field.
[JsonInclude]
public virtual PropertyFrameExt Frame { get; }
Property Value
HeightIsDeterministic
Gets a value indicating whether the height calculation is deterministic. When false, the height cannot be reliably predicted in advance and may vary based on runtime conditions or dynamic content.
public virtual bool HeightIsDeterministic { get; }
Property Value
Name
Gets or sets the internal field name (used for scripting/report layout references).
public string Name { get; set; }
Property Value
UsesTableFieldLineColor
Gets a value indicating whether this table field uses the default frame line color applied to table fields during property initialization. Derived classes override this to opt in.
protected virtual bool UsesTableFieldLineColor { get; }
Property Value
UsesTableFieldSpacing
Gets a value indicating whether this table field uses the default frame spacing applied to table fields during property initialization. Derived classes override this to opt in.
protected virtual bool UsesTableFieldSpacing { get; }
Property Value
Width
Gets or sets the width.
public string Width { get; set; }
Property Value
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.