System.Windows.Forms
2.0.0.0
System.Object
The class provides a set of static methods that can be used to render a tab control with the current visual style of the operating system. Rendering a control refers to drawing the user interface of a control. This is useful if you are drawing a custom control that should have the appearance of the current visual style. To draw a tab control, use the method to draw the page, and use the method to draw each tab.
If visual styles are enabled in the operating system and visual styles are applied to the client area of application windows, the methods of this class will draw the tab control with the current visual style. Otherwise, the methods and properties of this class will throw an . To determine whether the members of this class can be used, check the value of the property.
This class wraps the functionality of a that is set to one of the elements exposed by the class. For more information, see Rendering Controls with Visual Styles.
Provides methods used to render a tab control with visual styles. This class cannot be inherited.
Method
System.Void
Before calling this method, you should verify that the property returns true.
Draws a tab in the specified state and bounds.
The used to draw the tab.
The that specifies the bounds of the tab.
One of the values that specifies the visual state of the tab.
2.0.0.0
Method
System.Void
Before calling this method, you should verify that the property returns true.
Draws a tab in the specified state and bounds, and with an optional focus rectangle.
The used to draw the tab.
The that specifies the bounds of the tab.
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the tab.
2.0.0.0
Method
System.Void
Before calling this method, you should verify that the property returns true.
Draws a tab in the specified state and bounds, and with the specified text.
The used to draw the tab.
The that specifies the bounds of the tab.
The to draw in the tab.
The to apply to .
One of the values that specifies the visual state of the tab.
2.0.0.0
Method
System.Void
Before calling this method, you should verify that the property returns true.
Draws a tab in the specified state and bounds, with the specified image, and with an optional focus rectangle.
The used to draw the tab.
The that specifies the bounds of the tab.
The to draw in the tab.
The that specifies the bounds of .
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the tab.
2.0.0.0
Method
System.Void
Before calling this method, you should verify that the property returns true.
Draws a tab in the specified state and bounds, with the specified text, and with an optional focus rectangle.
The used to draw the tab.
The that specifies the bounds of the tab.
The to draw in the tab.
The to apply to .
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the tab.
2.0.0.0
Method
System.Void
Before calling this method, you should verify that the property returns true.
Draws a tab in the specified state and bounds, with the specified text and text formatting, and with an optional focus rectangle.
The used to draw the tab.
The that specifies the bounds of the tab.
The to draw in the tab.
The to apply to .
A bitwise combination of the values.
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the tab.
2.0.0.0
Method
System.Void
Before calling this method, you should verify that the property returns true.
Draws a tab in the specified state and bounds, with the specified text and image, and with an optional focus rectangle.
The used to draw the tab.
The that specifies the bounds of the tab.
The to draw in the tab.
The to apply to .
The to draw in the tab.
The that specifies the bounds of .
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the tab.
2.0.0.0
Method
System.Void
Before calling this method, you should verify that the property returns true.
Draws a tab in the specified state and bounds; with the specified text, text formatting, and image; and with an optional focus rectangle.
The used to draw the tab.
The that specifies the bounds of the tab.
The to draw in the tab.
The to apply to .
A bitwise combination of the values.
The to draw in the tab.
The that specifies the bounds of .
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the tab.
2.0.0.0
Method
System.Void
Before calling this method, you should verify that the property returns true.
Draws a tab page in the specified bounds.
The used to draw the tab page.
The that specifies the bounds of the tab page.
2.0.0.0
Property
System.Boolean
To be added.
If this property is false, the and methods will throw an .
Gets a value indicating whether the class can be used to draw a tab control with visual styles.
2.0.0.0