Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

public void Decrement(
    int val
)

#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.

See Also