- g
- The System.Drawing.Graphics used to draw the tab.
- bounds
- The System.Drawing.Rectangle that specifies the bounds of the tab.
- tabItemText
- The string to draw in the tab.
- font
- The System.Drawing.Font to apply to tabItemText.
- state
- One of the System.Windows.Forms.VisualStyles.TabItemState values that specifies the visual state of the tab.
Before calling this method, you should verify that the TabRenderer.IsSupported property returns true.