System.Windows.Forms 2.0.0.0 System.Object The class provides a set of static methods that can be used to render a progress bar 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 progress bar, use the or methods to draw the empty bar, and then use the or methods to draw the elements that fill in the bar. 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 progress bar 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, you can check the value of the property. This class wraps the functionality of a that is set to one of the elements exposed by the , , , and classes. For more information, see Rendering Controls with Visual Styles. Provides methods used to render a progress bar control with visual styles. This class cannot be inherited. Property System.Int32 To be added. This value is determined by the current visual style of the operating system. Before accessing this property, you should verify that the property returns true. Gets the width, in pixels, of the space between each inner piece of the progress bar. 2.0.0.0 Property System.Int32 To be added. This value is determined by the current visual style of the operating system. Before accessing this property, you should verify that the property returns true. Gets the width, in pixels, of a single inner piece of the progress bar. 2.0.0.0 Method System.Void Before using this method, you should verify that the property returns true. Draws an empty progress bar control that fills in horizontally. The used to draw the progress bar. The that specifies the bounds of the progress bar. 2.0.0.0 Method System.Void Each progress bar piece drawn by this method spans the height of the parameter. The number of progress bar pieces drawn is determined by the width of and the values returned by the and properties. Before using this method, you should verify that the property returns true. Draws a set of progress bar pieces that fill a horizontal progress bar. The used to draw the progress bar. The that specifies the bounds to be filled by progress bar pieces. 2.0.0.0 Method System.Void Before using this method, you should verify that the property returns true. Draws an empty progress bar control that fills in vertically. The used to draw the progress bar. The that specifies the bounds of the progress bar. 2.0.0.0 Method System.Void Each progress bar piece drawn by this method spans the width of the parameter. The number of progress bar pieces drawn is determined by the height of and the values returned by and . Before using this method, you should verify that the property returns true. Draws a set of progress bar pieces that fill a vertical progress bar. The used to draw the progress bar. The that specifies the bounds to be filled by progress bar pieces. 2.0.0.0 Property System.Boolean To be added. If this property is false, the methods and properties of this class will throw an . Gets a value indicating whether the class can be used to draw a progress bar control with visual styles. 2.0.0.0