Skip to main content
Tab

ProgressBarProperties.CustomDisplayFormat Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(typeof(string), "")]
public string CustomDisplayFormat { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that is the format pattern.

Remarks

When the ProgressBarProperties.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.
See Also