combit List & Label 27 - .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 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also