System.Windows.Forms
2.0.0.0
System.Object
The class provides a set of static methods that can be used to render an option button control. Rendering a control refers to drawing the user interface of a control. To draw an option button, use one of the methods. These methods provide a variety of options, such as drawing text or an image with the option button.
If visual styles are enabled in the operating system and visual styles are applied to the current application, will draw the option button with the current visual style. Otherwise, will draw the option button 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 an option button control (also known as a radio button) 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 option button (also known as a radio button) with the current visual style. Otherwise, this method will draw the option button with the classic Windows style.
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.Void
If visual styles are enabled in the operating system and visual styles are applied to the current application, this method will draw the option button with the current visual style. Otherwise, this method will draw the option button with the classic Windows style.
Draws an option button control (also known as a radio button) in the specified state and location.
The used to draw the option button.
The to draw the option button glyph at.
One of the values that specifies the visual state of the option button.
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 option button with the current visual style. Otherwise, this method will draw the option button with the classic Windows style.
Draws an option button control (also known as a radio button) in the specified state and location, with the specified text, and with an optional focus rectangle.
The used to draw the option button.
The to draw the option button glyph at.
The to draw in.
The to draw with the option button.
The to apply to .
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the option button.
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 option button with the current visual style. Otherwise, this method will draw the option button with the classic Windows style.
Draws an option button control (also known as a radio button) in the specified state and location, with the specified text and text formatting, and with an optional focus rectangle.
The used to draw the option button.
The to draw the option button glyph at.
The to draw in.
The to draw with the option button.
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 option button.
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 option button with the current visual style. Otherwise, this method will draw the option button with the classic Windows style.
Draws an option button control (also known as a radio button) in the specified state and location, with the specified text and image, and with an optional focus rectangle.
The used to draw the option button.
The to draw the option button glyph at.
The to draw in.
The to draw with the option button.
The to apply to .
The to draw with the option button.
The to draw in.
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the option button.
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 option button with the current visual style. Otherwise, this method will draw the option button with the classic Windows style.
Draws an option button control (also known as a radio button) 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 option button.
The to draw the option button glyph at.
The to draw in.
The to draw with the option button.
The to apply to .
A bitwise combination of the values.
The to draw with the option button.
The to draw in.
true to draw a focus rectangle; otherwise, false.
One of the values that specifies the visual state of the option button.
2.0.0.0
Method
System.Drawing.Size
This value is determined by the current visual style of the operating system.
Returns the size, in pixels, of the option button (also known as a radio button) glyph.
A that represents the size, in pixels, of the option button glyph.
The used to draw the option button.
One of the values that specifies the visual state of the option button.
2.0.0.0
Method
System.Boolean
To be added.
Indicates whether the background of the option button (also known as a radio button) has semitransparent or alpha-blended pieces.
true if the background of the option button has semitransparent or alpha-blended pieces; otherwise, false.
One of the values that specifies the visual state of the option button.
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