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


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

    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