Skip to main content
Tab

ProgressBarSettings.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 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 current position value or as its percentage value (with respect to the minimum and maximum position values).

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

See Also