TabPage.OnPaintBackground Method (PaintEventArgs)
Paints the background of the TabPage.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The system calls this method to paint the background of the TabPage. When the UseVisualStyleBackColor and Application.RenderWithVisualStyles property values are both true and the Appearance property of the parent TabControl is Normal, this method paints the background using the current visual style. Otherwise, this method paints the background as usual.
Available since 2.0