# GraffitiProgress
Class Inherits GraffitiSuite.BaseCanvas
## About
GraffitiProgress is a cross-platform style-mimicking progress bar class. With styles for Windows, OS X, and Linux, your application will look right at home.
**
Features:
**
*
Horizontal or Vertical Styling
*
Filled or Blocked Styling
*
Custom Percentage text
*
Custom Percentage symbol
*
Custom Color Properties
*
Windows 9x Flat style
*
Windows 9x 3D style
*
Windows XP Style
*
Mac OS X style
*
KDE style
*
Windows Vista style
*
A custom gel style called “GelCore”
*
A Dark style
*
A Gradient style
## Preview





Previous
Next
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Desktop
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| Directions | Horizontal <br > Vertical | Supported drawing orientations. |
| FillStyles | Solid <br > Blocked | Supported progress value fill styles. |
| Styles | Win9xFlat <br > Win9x3D <br > WinXP <br > MacOSX <br > KDE <br > WinVista <br > GelCore <br > Dark <br > Gradient | Supported overall drawing styles. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Opening | (None) | (None) | (None) |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| StyleCount | (None) | Integer | Returns the number of styles supported. |
| StyleName | Index as Integer | String | Returns the style name at the index specified. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| BGColorDark | Color | (None) | The dark background color of the control. |
| BGColorLight | Color | (None) | The light background color of the control. |
| Bold | Boolean | (None) | Determines the font weight of the text shown. |
| BorderColor | Color | (None) | Color used to draw the control's border. |
| BorderRadius | Double | (None) | Determines the thickness of the control's border. |
| CustomText | String | (None) | Used for displaying text other than a numerical percentage. |
| Direction | Directions | (None) | Determines whether the control is drawn horizontally or vertically. |
| GradientReflected | Boolean | (None) | (None) |
| Italic | Boolean | (None) | Determines whether the text is displayed in italics. |
| LockUpdate | Boolean | (None) | (None) |
| MaximumValue | Integer | (None) | The maximum displayed value. |
| MinimumValue | Integer | (None) | The minimum displayed value. |
| PercentSign | String | (None) | Allows you to determine what text is displayed after the number value, ie: 50%, 50.00, 50#, 50!!!!YAY!!! |
| ProgressColorDark | Color | (None) | Dark color of the filled progress area. |
| ProgressColorLight | Color | (None) | Light color of the filled progress area. |
| ProgressStyle | FillStyles | (None) | Determines the visual appearance of the filled progress area. |
| ProgressTextColorDark | Color | (None) | Dark color of the progress text. |
| ProgressTextColorLight | Color | (None) | Light color of the progress text. |
| ProgressTextFont | String | (None) | Font face used to draw the progress text. |
| ProgressTextSize | Integer | (None) | Size of the font used to draw the progress text. |
| ShowProgressText | Boolean | (None) | Sets whether the control will show any progress text. |
| Style | Styles | (None) | Determines the visual style to be displayed. |
| Underline | Boolean | (None) | Sets the text decoration. |
| UseCustomScheme | Boolean | (None) | Determines whether the control will use custom colors |
| Value | Integer | (None) | Sets the numeric value of the control. Accepts integers from 0-100. To calculate percentage, use the following formula: (DoneSoFar / TotalToDo) * 100. |