Tab

ProgressBarSettings.DisplayMode Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

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.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to DisplayMode
ASP.NET Bootstrap Controls BootstrapUploadControl
.ProgressBarSettings.DisplayMode
ASP.NET Web Forms Controls ASPxHtmlEditorUploadControl
.ProgressBarSettings.DisplayMode
ASPxUploadControl
.ProgressBarSettings.DisplayMode
ASP.NET MVC Extensions MVCxUploadControl
.ProgressBarSettings.DisplayMode
UploadControlSettings
.ProgressBarSettings.DisplayMode

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