Skip to main content
A newer version of this page is available. .
Tab

ASPxProgressBar.CustomDisplayFormat Property

Gets or sets the pattern used to format the text displayed for the progress bar if the ASPxProgressBar.DisplayMode property is set to ProgressBarDisplayMode.Custom.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

public string CustomDisplayFormat { get; set; }

Property Value

Type Description
String

A String value that is the format pattern.

Remarks

When the ASPxProgressBar.DisplayMode property is set to ProgressBarDisplayMode.Custom you can use the CustomDisplayFormat property to specify a pattern to format the text displayed in the progress bar.

Within the pattern you can use the following arguments:

  • {0} - the current progress bar position;
  • {1} - the minimum progress bar value;
  • {2} - the maximum progress bar value.

To set the format pattern on the client side, use the ASPxClientProgressBar.SetCustomDisplayFormat method.

See Also