# GH_ProgressBar class

Namespace: [Grasshopper.GUI](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.gui.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
[DesignerGenerated]
public class GH_ProgressBar : UserControl
```

General utility progress bar.

## Properties

- [CurrentStep](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/currentstep.md): Gets the current step of the process.
- [DrawPercentage](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/drawpercentage.md): Gets or sets a value that controls whether or not the percentage is included in progress bar rendering.
- [DrawSteps](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/drawsteps.md): Gets or sets a value that controls whether or not the steps are included in progress bar rendering.
- [Message](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/message.md): Gets or sets the text displayed on the progress bar.
- [Progress](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/progress.md): Gets or sets the progress value (0.0 ~ 1.0)

## Methods

- [Dispose](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/dispose.md)
- [OnPaint](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/onpaint.md)
- [OnPaintBackground](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/onpaintbackground.md)
- [SetMaxSteps](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/setmaxsteps.md): Sets the maximum number of steps that will be handled during the upcoming progress.
- [SetStep](https://developer.rhino3d.com/api/gh1/type/grasshopper.gui.gh-progressbar/setstep.md): (2 overloads) Set the current step and message.
