Skip to main content
Tab

ASPxProgressBarBase.DisplayMode Property

Gets or sets the display mode of the current position within the progress bar.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(ProgressBarDisplayMode.Percentage)]
public virtual ProgressBarDisplayMode DisplayMode { get; set; }

Property Value

Type Default Description
ProgressBarDisplayMode Percentage

One of the ProgressBarDisplayMode enumeration values.

Available values:

Name Description
Percentage

A percentage value representing the ratio of the ASPxProgressBar.Position property’s value with respect to the values of the ASPxProgressBar.Minimum and ASPxProgressBar.Maximum properties is displayed within the progress bar.

Position

The ASPxProgressBar.Position property’s value is displayed.

Custom

The progress bar displays a custom text, which is formatted using a pattern specified via the ASPxProgressBar.CustomDisplayFormat (ASPxProgressBarBase.CustomDisplayFormat) property.

Remarks

Use the DisplayMode property to control how the control’s value should be represented within the progress bar - as either the ASPxProgressBarBase.Position property value or a percentage value representing the ratio of the ASPxProgressBarBase.Position property’s value with respect to the values of the ASPxProgressBarBase.Minimum and ASPxProgressBarBase.Maximum properties.

This property is in effect if the ASPxProgressBarBase.ShowPosition property is set to true.

See Also