Xceed SmartUI for WinForms v3.6 Documentation
DrawProgressBar Method


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartPaint Class : DrawProgressBar Method
A System.Drawing.Rectangle structure representing the rectangle in which to draw the progress bar.
A value representing the value of the progress bar.
Draws a progress bar in the specified rectangle.
Syntax
'Declaration
 
Public Sub DrawProgressBar( _
   ByVal rectangle As Rectangle, _
   ByVal percent As Double _
) 
'Usage
 
Dim instance As SmartPaint
Dim rectangle As Rectangle
Dim percent As Double
 
instance.DrawProgressBar(rectangle, percent)
public void DrawProgressBar( 
   Rectangle rectangle,
   double percent
)

Parameters

rectangle
A System.Drawing.Rectangle structure representing the rectangle in which to draw the progress bar.
percent
A value representing the value of the progress bar.
Remarks

The progress bar will be drawn according to the style defined by the UIStyle and UIStyleResourceAssembly properties.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SmartPaint Class
SmartPaint Members