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