combit List & Label 29 - .NET Help
combit.Reporting.Dom Namespace / CollectionTableLinesData Class
Members Example


In This Topic
    CollectionTableLinesData Class
    In This Topic
    This collection contains the data lines of the current table. It can also be used to add new data lines to the table.
    Object Model
    CollectionTableLinesData ClassTableLineData Class
    Syntax
    'Declaration
     
    
    Public Class CollectionTableLinesData 
       Inherits combit.Reporting.Dom.CollectionTableLinesTBase(Of TableLineData)
    public class CollectionTableLinesData : combit.Reporting.Dom.CollectionTableLinesTBase<TableLineData> 
    public ref class CollectionTableLinesData : public combit.Reporting.Dom.CollectionTableLinesTBase<TableLineData> 
    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.CollectionTableLinesBase
                   combit.Reporting.Dom.CollectionTableLinesTBase<T>
                      combit.Reporting.Dom.CollectionTableLinesData

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also