System.Windows.Forms 2.0.0.0 System.Object The class provides a set of static methods that can be used to render a group box control. Rendering a control refers to drawing the user interface of a control. To draw a group box, use one of the methods. These methods provide a variety of text drawing options. If visual styles are enabled in the operating system and visual styles are applied to the current application, will draw the group box with the current visual style. Otherwise, will draw the group 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 group 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 group box with the current visual style. Otherwise, this method will draw the group box with the classic Windows style. Draws a group box control in the specified state and bounds. The used to draw the group box. The that specifies the bounds of the group box. One of the values that specifies the visual state of the group 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 group box with the current visual style. Otherwise, this method will draw the group box with the classic Windows style. Draws a group box control in the specified state and bounds, with the specified text and font. The used to draw the group box. The that specifies the bounds of the group box. The to draw with the group box. The to apply to . One of the values that specifies the visual state of the group 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 group box with the current visual style. Otherwise, this method will draw the group box with the classic Windows style. Draws a group box control in the specified state and bounds, with the specified text, font, and color. The used to draw the group box. The that specifies the bounds of the group box. The to draw with the group box. The to apply to . The to apply to . One of the values that specifies the visual state of the group 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 group box with the current visual style. Otherwise, this method will draw the group box with the classic Windows style. Draws a group box control in the specified state and bounds, with the specified text, font, and text formatting. The used to draw the group box. The that specifies the bounds of the group box. The to draw with the group box. The to apply to . A bitwise combination of the values. One of the values that specifies the visual state of the group 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 group box with the current visual style. Otherwise, this method will draw the group box with the classic Windows style. Draws a group box control in the specified state and bounds, with the specified text, font, color, and text formatting. The used to draw the group box. The that specifies the bounds of the group box. The to draw with the group box. The to apply to . The to apply to . A bitwise combination of the values. One of the values that specifies the visual state of the group 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.Boolean To be added. Indicates whether the background of the group box has any semitransparent or alpha-blended pieces. true if the background of the group box has semitransparent or alpha-blended pieces; otherwise, false. One of the values that specifies the visual state of the group box. 2.0.0.0 Property System.Boolean To be added. If is true, the uses the setting from 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