API Documentation -> NtTimeChartControl -> GetColHeaderStr

# NtTimeChartControl.GetColHeaderStr Method

The column names are not maintained by the header control (Nateo.NtHeaderControl), but by the Nateo.NtTimeChartControl.
The header control retrieves the title of a column from the center control by calling GetColHeaderStr. As this method is public, the column titles are available to the containing application as well.
Please note: As shown in the illustration above, column headers might be located not above the center of a column but above the separating lines. This is the case for the time display mode 'hours' while for 'days' the date of the day will be placed above each column's center.

Overload List:

Modifier / Return Value | Name and Parameters | Description
--- | --- | ---
public virtual String | GetColHeaderStr ( int c ) | Returns the column title for the column with the zero based index c.

Return value:

String
The title of the column.

Parameters:

int c
Zero based index of the column.

Remarks:

Throws an Exception if c is less than zero or equal or bigger than the column count.

See also:

GetColWidth()
GetColX()

Top API Documentation -> NtTimeChartControl -> GetColHeaderStr © 2016 Bassaly