Method OnPaintBackground
OnPaintBackground(PaintEventArgs)
Paints the background of the control.
protected virtual void OnPaintBackground(PaintEventArgs e)
Parameters
e
PaintEventArgsA PaintEventArgs that contains information about the control to paint.
Remarks
This method is not called for all the controls. It is up to the control to decide whether and how to call this method.