Method OnPaintBackground
OnPaintBackground(PaintEventArgs)
Paints the background of the control.
protected override void OnPaintBackground(PaintEventArgs pevent)
Parameters
pevent
PaintEventArgsA PaintEventArgs that contains information about the control to paint.
OnPaintBackground(PaintEventArgs)
Paints the background of the control.
protected override void OnPaintBackground(PaintEventArgs pevent)
Parameters
pevent
PaintEventArgs
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.