> For the complete documentation index, see [llms.txt](https://docs.saabytes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.saabytes.com/controls/saaprogressbar.md).

# SaaProgressBar

![](https://3593808699-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MeLJp7jLxK-XmIvfxh3%2Fuploads%2FmG6aOPVE7HzC3oiOSBgd%2Fimage.png?alt=media\&token=3c4a894c-6d76-4c16-84f7-b4422b9fa106)

## 1. Colors

`BackgroundColor` tells the backcolor of the progressbar.

`Color` tells the color of the progress indicator.

`TextColor` tells the color of the text.

## 2. Text

`DecimalPoints` tells how many decimal points will be displayed in the progressbar.

`Display` tells whether `Value`, `Percent` or `Nothing` text is displayed in the progressbar.

`Prefix` tells text put before `Value`/`Percent`/`Nothing` text displayed in the progressbar .

`Suffix` tells text put after`Value`/`Percent`/`Nothing` text displayed in the progressbar .

`TextFont` tells the font of the text.

`TextOffset` tells how far the text should move from right to left (X) and from top to bottom (Y).

## 3. Others

`Value` tells current value the progressbar is passing.

`Maximum` tells the maximum value the progressbar accepts.

`Minimum` tells the minimum value the progressbar accepts.

`RoundedStyle` tells whether the progressbar border is rounded.

`Step` tells amount to increment the value of the progressbar when called `PerformSteo()`.

`Vertical` tells whether the progressbar is vertical or horizontal.

`Percentage` tells the value of the progressbar as a percentage. Decimal points are detemined by the property `DecimalPoints`.

## 4. Methods and Events

`PerformStep()` increments the value of the progressbar by the value specified in `Step`.

`ValueChanged` fires when value of the progressbar is changed.

```csharp
  saaProgressBar1.ValueChanged += saaProgressBar1_ValueChanged;
  private void saaProgressBar1_ValueChanged(object sender, EventArgs e)
    {
            
            SaaProgressBar progressbar = sender as SaaProgressBar;
            //Rest of your code
    }
```
