Back to Devexpress

ProgressBarSettings.DisplayMode Property

aspnet-devexpress-dot-web-dot-progressbarsettings-a285256a.md

latest2.6 KB
Original Source

ProgressBarSettings.DisplayMode Property

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(ProgressBarDisplayMode.Percentage)]
public ProgressBarDisplayMode DisplayMode { get; set; }
vb
<DefaultValue(ProgressBarDisplayMode.Percentage)>
Public Property DisplayMode As ProgressBarDisplayMode

Property Value

TypeDefaultDescription
ProgressBarDisplayModePercentage

One of the ProgressBarDisplayMode enumeration values.

|

Available values:

NameDescription
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

ShowPosition

ProgressBarSettings Class

ProgressBarSettings Members

DevExpress.Web Namespace