ProgressBarControl.EditValue Property
Gets or sets the value representing the progress bar’s current position.
Namespace: DevExpress.XtraEditors
Assembly: DevExpress.XtraEditors.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Object | 0 | An object value representing the progress bar’s current position. |
Remarks
This property overrides the base class property in order to represent the progress bar’s current position.
You can assign any object to the EditValue property. The specified object should be convertible to an integer value (e.g., it should implement the IConvertible interface). If the specified object cannot be converted to an integer value, the RepositoryItemProgressBar.Minimum value is assigned. If the specified value oversteps the RepositoryItemProgressBar.Minimum or RepositoryItemProgressBar.Maximum value, the corresponding extreme value is assigned.
Changing this property value at runtime raises the RepositoryItem.EditValueChanging and RepositoryItem.EditValueChanged events.
You can also change the progress bar’s current position using the ProgressBarControl.Position property, which is sync with the EditValue property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the EditValue property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.