Class ColumnHeaderRow
Represents the class that implements the row for the column header row in a group.
Inherited Members
Namespace: Syncfusion.Grouping
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public class ColumnHeaderRow : RowElement, IDisposable, IDisposedEvent, IIsDisposedProperty, ITreeTableCounterSource, ITreeTableSummaryArraySource, IDisplayElement
Remarks
A ColumnHeaderRow is displayed at the top of a table or group. ColumnHeaderRow is a place holder item where the grouping grid should display column headers.
ColumnHeaderRow is a RowElement and an element of the ColumnHeaderSection.ColumnHeaderRows collection of a parent ColumnHeaderSection.
ColumnHeaderRows are created and removed internally within a ColumnHeaderSection when the section is created and when TableDescriptor.RowsPerRecord property of a TableDescriptor is changed.
See also:
TableDescriptor.RowsPerRecord, IDisplayElement, ColumnHeaderSection, ColumnHeaderSection.ColumnHeaderRows, ColumnHeaderRowCollection
Constructors
ColumnHeaderRow(ColumnHeaderSection)
Initializes the new instances of the ColumnHeaderRow class in the specified ColumnHeaderSection.
Declaration
public ColumnHeaderRow(ColumnHeaderSection parent)
Parameters
Type | Name | Description |
---|---|---|
ColumnHeaderSection | parent | The parent section that this element belongs to. |
Properties
Kind
Overrides and gets the kind of display element.
Declaration
public override DisplayElementKind Kind { get; }
Property Value
Type |
---|
DisplayElementKind |
Overrides
ParentElement
Gets or sets the value of the ColumnHeaderSection elements belongs to.
Declaration
public ColumnHeaderSection ParentElement { get; set; }
Property Value
Type |
---|
ColumnHeaderSection |
Methods
GetElementCount()
Overrides and gets the number of elements.
Declaration
public override int GetElementCount()
Returns
Type | Description |
---|---|
System.Int32 | Number of elements. |
Overrides
GetVisibleCount()
Overrides and gets the number of visible elements.
Declaration
public override int GetVisibleCount()
Returns
Type | Description |
---|---|
System.Int32 | Number of visible elements. |
Overrides
GetYAmountCount()
Overrides and gets the height of column header row.
Declaration
public override double GetYAmountCount()
Returns
Type | Description |
---|---|
System.Double | Row Height. |
Overrides
OnEnsureInitialized(Object)
Overrides and determines whether the elements are updated or not.
Declaration
protected override bool OnEnsureInitialized(object sender)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender |
Returns
Type | Description |
---|---|
System.Boolean | Boolean value. |
Overrides
ToString()
Overrides and gets the string representation of the ColumnHeaderRow object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String representation of the current object. |