System.Windows.Forms 2.0.0.0 System.Object The class provides a set of static methods that can be used to render a text box 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 text box, use one of the methods. These methods provide a variety of options, such as applying text formatting or specifying text bounds. If visual styles are enabled in the operating system and visual styles are applied to the client area of application windows, will draw the text box with the current visual style. Otherwise, will throw an . To determine whether the members of this class can be used, you can check the value of the property. This class wraps the functionality of a that is set to one of the elements of the class. For more information, see Rendering Controls with Visual Styles. Provides methods used to render a text box 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 text box control in the specified state and bounds. The used to draw the text box. The that specifies the bounds of the text box. One of the values that specifies the visual state of the text box. 2.0.0.0 Method System.Void Before calling this method, you should verify that the property returns true. Draws a text box control in the specified state and bounds, and with the specified text. The used to draw the text box. The that specifies the bounds of the text box. The to draw in the text box. The to apply to . One of the values that specifies the visual state of the text box. 2.0.0.0 Method System.Void Before calling this method, you should verify that the property returns true. Draws a text box control in the specified state and bounds, and with the specified text and text bounds. The used to draw the text box. The that specifies the bounds of the text box. The to draw in the text box. The to apply to . The that specifies the bounds of . One of the values that specifies the visual state of the text box. 2.0.0.0 Method System.Void Before calling this method, you should verify that the property returns true. Draws a text box control in the specified state and bounds, and with the specified text and text formatting. The used to draw the text box. The that specifies the bounds of the text box. The to draw in the text box. The to apply to . A bitwise combination of the values. One of the values that specifies the visual state of the text box. 2.0.0.0 Method System.Void Before calling this method, you should verify that the property returns true. Draws a text box control in the specified state and bounds, and with the specified text, text bounds, and text formatting. The used to draw the text box. The that specifies the bounds of the text box. The to draw in the text box. The to apply to . The that specifies the bounds of . A bitwise combination of the values. One of the values that specifies the visual state of the text box. 2.0.0.0 Property System.Boolean To be added. If this property is false, the method will throw an . Gets a value indicating whether the class can be used to draw a text box with visual styles. 2.0.0.0