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


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

    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