NtHeaderControl.OnPaint Method

Inherited from System.Windows.Forms.Control. Does the painting of the control's client area.

Overload List:

Modifier / Return Value Name and Parameters Description

protected override void

OnPaint ( PaintEventArgs pe )

Does the painting of the NtHeaderControl.

Return value:

void

Parameters:

PaintEventArgs pe
The PaintEventArgs that contain the necessary information for painting. Mainly the ClipRect and the Graphics object.

Remarks:

When creating a derived class from NtHeaderControl you can override this method to implement painting yourself. In general this is not recommended because drawing the lines and texts has to be aligned with the columns of the connected NtTimeChartControl.

See also:

OnPaintBackground()