System.Windows.Forms.TabRenderer.DrawTabPage Method

Draws a tab page in the specified bounds.

Syntax

public static void DrawTabPage (System.Drawing.Graphics g, System.Drawing.Rectangle bounds)

Parameters

g
The System.Drawing.Graphics used to draw the tab page.
bounds
The System.Drawing.Rectangle that specifies the bounds of the tab page.

Remarks

Before calling this method, you should verify that the TabRenderer.IsSupported property returns true.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0