Tab
A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

public string CustomDisplayFormat { get; set; }
Public Property CustomDisplayFormat As String

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