Syncfusion.Grouping.Base
Members 


Syncfusion.Grouping Namespace : ColumnHeaderSection Class

ColumnHeaderSection Class

Defines the class that implements the section of the column headers.
Object Model
ColumnHeaderSection ClassColumnHeaderRowCollection ClassColumnHeaderRow ClassEngine ClassTable ClassChildTable ClassElement ClassGroup ClassGroup ClassRecord ClassSection ClassTable ClassTableDescriptor ClassRowElementCollection ClassRowElement Class
Syntax
'Declaration
 
Public Class ColumnHeaderSection 
   Inherits RowElementsSection
   Implements Syncfusion.Collections.BinaryTree.IDisposedEvent, Syncfusion.Collections.BinaryTree.IIsDisposedProperty, Syncfusion.Collections.BinaryTree.ITreeTableCounterSource, Syncfusion.Collections.BinaryTree.ITreeTableSummaryArraySource, IRowElementsContainer 
'Usage
 
Dim instance As ColumnHeaderSection
public class ColumnHeaderSection : RowElementsSection, Syncfusion.Collections.BinaryTree.IDisposedEvent, Syncfusion.Collections.BinaryTree.IIsDisposedProperty, Syncfusion.Collections.BinaryTree.ITreeTableCounterSource, Syncfusion.Collections.BinaryTree.ITreeTableSummaryArraySource, IRowElementsContainer  
Remarks
A ColumnHeaderSection holds ColumnHeaderRow(s) that are displayed at the top of a table or group. ColumnHeaderRow is a place holder item where the grouping grid should display column headers.

The ColumnHeaderSection is a container element and has a collection of one or multiple ColumnHeaderRow elements.

If ColumnHeaderSection(s) should be displayed at the top of each group, ColumnHeaderSection(s) are created when the grouping for a table is initialized. The grouping engine loops through all sorted records and categorizes them. For each new group the virtual TableDescriptor.CreateGroup factory method is called. The TableDescriptor.CreateGroup method instantiates a ColumnHeaderSection by calling the virtual TableDescriptor.CreateColumnHeaderSection factory method.

One set of ColumnHeaderRows are displayed at the top of the table below the CaptionSection. The rows belong to the ColumnHeaderSection of the TopLevelGroup of a table. The TopLevelGroup is created with the virtual TableDescriptor.CreateGroup factory method. The TableDescriptor.CreateGroup method instantiates a ColumnHeaderSection by calling the virtual TableDescriptor.CreateColumnHeaderSection factory method.

Because the ColumnHeaderSection is a container element and not a display element, it will not be an item returned by the Table.DisplayElements and Table.GroupedElements collections. Instead, the ColumnHeaderSection can be accessed only through the Group.Sections collection of its parent group or TopLevelGroup.

See also:

TableDescriptor.CreateGroup, TableDescriptor.CreateColumnHeaderSection, Table.TopLevelGroup, IContainerElement, Group.Sections

Inheritance Hierarchy

System.Object
   Syncfusion.Grouping.Element
      Syncfusion.Grouping.Section
         Syncfusion.Grouping.RowElementsSection
            Syncfusion.Grouping.ColumnHeaderSection
               Syncfusion.Windows.Forms.Grid.Grouping.GridColumnHeaderSection

AssemblyVersion

Syncfusion.Grouping.Base: 17.3460.0.26

See Also