Occurs when the control needs to draw the background.
Renders a gradient background as set in the Theme property.
Declaration Syntax
C# | Visual Basic |
protected override void OnPaintBackground( PaintEventArgs e )
Protected Overrides Sub OnPaintBackground ( _ e As PaintEventArgs _ )
Parameters
- e (PaintEventArgs)
- Event arguments