System.Windows.Forms
2.0.0.0
System.Object
The class provides a set of static methods that can be used to render a check box control. Rendering a control refers to drawing the user interface of a control. To draw a check box, use one of the methods. These methods provide a variety of options, such as drawing text or an image with the check box.
If visual styles are enabled in the operating system and visual styles are applied to the current application, will draw the check box with the current visual style. Otherwise, will draw the check box with the classic Windows style. This is useful if you are drawing a custom control that should automatically match the current visual style setting of the operating system.
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 check box control with or without visual styles. This class cannot be inherited.
Method
System.Void
If visual styles are enabled in the operating system and visual styles are applied to the current application, this method will draw the check box with the current visual style. Otherwise, it will draw the check box with the classic Windows style.
Draws a check box control in the specified state and location.
The used to draw the check box.
The to draw the check box glyph at.
One of the values that specifies the visual state of the check box.
2.0.0.0
Method
System.Void
If visual styles are enabled in the operating system and visual styles are applied to the current application, this method will draw the check box with the current visual style. Otherwise, it will draw the check box with the classic Windows style.
Draws a check box control in the specified state and location, with the specified text, and with an optional focus rectangle.
The used to draw the check box.
The to draw the check box glyph at.
The to draw in.
The to draw with the check box.
The to apply to .
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the check box.
2.0.0.0
Method
System.Void
If visual styles are enabled in the operating system and visual styles are applied to the current application, this method will draw the check box with the current visual style. Otherwise, it will draw the check box with the classic Windows style.
Draws a check box control in the specified state and location, with the specified text and text formatting, and with an optional focus rectangle.
The used to draw the check box.
The to draw the check box glyph at.
The to draw in.
The to draw with the check box.
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 check box.
2.0.0.0
Method
System.Void
If visual styles are enabled in the operating system and visual styles are applied to the current application, this method will draw the check box with the current visual style. Otherwise, it will draw the check box with the classic Windows style.
Draws a check box control in the specified state and location, with the specified text and image, and with an optional focus rectangle.
The used to draw the check box.
The to draw the check box glyph at.
The to draw in.
The to draw with the check box.
The to apply to .
The to draw with the check box.
The that represents the dimensions of .
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the check box.
2.0.0.0
Method
System.Void
If visual styles are enabled in the operating system and visual styles are applied to the current application, this method will draw the check box with the current visual style. Otherwise, it will draw the check box with the classic Windows style.
Draws a check box control in the specified state and location; with the specified text, text formatting, and image; and with an optional focus rectangle.
The used to draw the check box.
The to draw the check box glyph at.
The to draw in.
The to draw with the check box.
The to apply to .
A bitwise combination of the values.
The to draw with the check box.
The that represents the dimensions of .
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the check box.
2.0.0.0
Method
System.Void
To be added.
Draws the background of a control's parent in the specified area.
The used to draw the background of the parent of .
The in which to draw the parent control's background. This rectangle should be inside the child control’s bounds.
The control whose parent's background will be drawn.
2.0.0.0
Method
System.Drawing.Size
The size of the check box glyph is determined by the current visual style of the operating system.
Returns the size of the check box glyph.
A that represents the size of the check box glyph.
The this operation will use.
One of the values that specifies the visual state of the check box.
2.0.0.0
Method
System.Boolean
To be added.
Indicates whether the background of the check box has semitransparent or alpha-blended pieces.
true if the background of the check box has semitransparent or alpha-blended pieces; otherwise, false.
One of the values that specifies the visual state of the check box.
2.0.0.0
Property
System.Boolean
To be added.
If the property is true, the uses the setting from the property to determine the rendering style. If is false, the renderer will always render using visual styles.
Gets or sets a value indicating whether the renderer uses the application state to determine rendering style.
2.0.0.0