NtHeaderControl.DrawLines Method
Taking a look onto a NtHeaderControl, you will find the rows and columns being separated by thin lines:

NtHeaderControl performs the drawing of these lines in this method
Overload List:
| Modifier / Return Value | Name and Parameters | Description |
|---|---|---|
|
|
|
Draws horizontal and vertical lines to separate the rows and columns within the NtHeaderControl. |
Return value:
Parameters:
This is the Graphics object provided by the system in the OnPaint method. Overriding methods use this parameter in order to draw the lines in their own way.
The Rectangle structure describing the clip rect for the current paint process.
Remarks:
You can implement your own line drawing by overriding this virtual method. Use the clip rect to reduce the drawing effort as far as possible. You will need the NtTimeChartControl.GetColWidth() and NtTimeChartControl.GetColX() members to calculate the appropriate coordinates.
See also:
NtTimeChartControl.GetColWidth()
NtTimeChartControl.GetColX()
NtTimeChartControl.DrawLines()
NtFlankControl.DrawLines()
