Paints the background of the System.Windows.Forms.TabPage.
- e
- A System.Windows.Forms.PaintEventArgs that contains data useful for painting the background.
The system calls this method to paint the background of the System.Windows.Forms.TabPage. When the TabPage.UseVisualStyleBackColor and Application.RenderWithVisualStyles property values are both true and the TabControl.Appearance property of the parent System.Windows.Forms.TabControl is TabAppearance.Normal, this method paints the background using the current visual style. Otherwise, this method paints the background as usual.