ProgressBarControl.Decrement(Int32) Method
Decreases the progress bar’s 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 subtracted from the progress bar’s position. |
#Remarks
Use this method to decrease the progress bar’s position by the specified value. The position is represented by the ProgressBarControl.Position property. If the position is less than the RepositoryItemProgressBar.Minimum property value after calling the Decrement method, the position is automatically set to the RepositoryItemProgressBar.Minimum property.
If you need to advance the progress bar’s position by a specific value, use the ProgressBarControl.Increment method.