TabPage.OnPaintBackground(PaintEventArgs) Metoda

Definicja

Maluje tło obiektu 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)

Parametry

e
PaintEventArgs

Obiekt PaintEventArgs zawierający dane przydatne do malowania tła.

Uwagi

System wywołuje tę metodę, aby namalować tło obiektu TabPage. UseVisualStyleBackColor Gdy wartości właściwości i Application.RenderWithVisualStyles są zarównotrue, jak i Appearance właściwością obiektu nadrzędnego TabControl jest Normal, ta metoda maluje tło przy użyciu bieżącego stylu wizualizacji. W przeciwnym razie ta metoda maluje tło jak zwykle.

Dotyczy