API Documentation -> NtTimeChartControl -> OnPaintBackground

# NtTimeChartControl.OnPaintBackground Method

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

Overload List:

Modifier / Return Value | Name and Parameters | Description
--- | --- | ---
protected override void | OnPaintBackground ( PaintEventArgs pe ) | Does the painting of the background of the NtTimeChartControl.

Return value:

void

Parameters:

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

Remarks:

Override this to perform your own background painting. This can be useful if you want the background to look in a special way (a warter mark, background image, color gradient).
Important: If you set FillBackground to true, the background will be overlayed with the background of the different rows, so overriding this method does not make any sense.

See also:

OnPaint()

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