Редагувати

Поділитися через


TabPage.OnPaintBackground(PaintEventArgs) Method

Definition

Paints the background of the TabPage.

protected:
 override void OnPaintBackground(System::Windows::Forms::PaintEventArgs ^ e);
protected override void OnPaintBackground (System.Windows.Forms.PaintEventArgs e);
override this.OnPaintBackground : System.Windows.Forms.PaintEventArgs -> unit
Protected Overrides Sub OnPaintBackground (e As PaintEventArgs)

Parameters

e
PaintEventArgs

A PaintEventArgs that contains data useful for painting the background.

Remarks

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.

Applies to