ProgressBarControl.Increment(Int32) Method
Increases the progress bar’s current position by a specified value.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
val | Int32 | An integer value to be added to the progress bar’s current position. |
#Remarks
The Increment method enables you to increase the value of the progress bar by the specified value. The value of the progress bar is represented by the ProgressBarControl.Position property. If the ProgressBarControl.Position property value is greater than the RepositoryItemProgressBar.Maximum property value after an Increment method call, the control’s value is automatically set to RepositoryItemProgressBar.Maximum.
Alternatively, if you need to decrease the control’s value by a specified value, call the ProgressBarControl.Decrement method.