combit List & Label 27 - .NET Help
combit.Reporting.Dom Namespace / CollectionTableFieldBases Class
Members Example


In This Topic
    CollectionTableFieldBases Class
    In This Topic
    This collection contains the fields of a table line. It can also be used to add new fields to the line.
    Object Model
    CollectionTableFieldBases ClassTableField Class
    Syntax
    'Declaration
     
    
    Public Class CollectionTableFieldBases 
       Inherits combit.Reporting.Dom.DomCollectionBase(Of TableField)
    public class CollectionTableFieldBases : combit.Reporting.Dom.DomCollectionBase<TableField> 
    public ref class CollectionTableFieldBases : public combit.Reporting.Dom.DomCollectionBase<TableField> 
    Example
    // add a table to the report container
    SubItemTable table = new SubItemTable(container.SubItems);
    
    // add new data and header lines to this table
    TableLineData tableLineData = new TableLineData(table.Lines.Data);
    TableLineHeader tableLineHeader = new TableLineHeader(table.Lines.Header);
    
    // add a field to the header line
    TableFieldText header = new TableFieldText(tableLineHeader.Fields);
    header.Contents = "\"head\"";
    Inheritance Hierarchy

    System.Object
       System.Collections.ObjectModel.Collection<T>
          System.Collections.ObjectModel.ObservableCollection<T>
             combit.Reporting.Dom.DomCollectionBase<T>
                combit.Reporting.Dom.CollectionTableFieldBases

    Requirements

    Platforms: Windows 8.1, Windows 10 (Version 1909 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also