Occurs when the control needs to draw the background.
Renders a gradient background as set in the Theme property.

C# | Visual Basic |
protected override void OnPaintBackground( PaintEventArgs e )
Protected Overrides Sub OnPaintBackground ( _ e As PaintEventArgs _ )

- e (PaintEventArgs)
- Event arguments