RepositoryItemBaseProgressBar.ShowTitle Property

Gets or sets whether the control displays the textual representation of the progress bar's current position.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(false)]
public bool ShowTitle { get; set; }
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Property ShowTitle As Boolean

Property Value

Type Default Description
Boolean

false

true, to display the text; otherwise, false.

Remarks

Set the ShowTitle property to true to display the current position (see ProgressBarControl.Position).

The following properties and events allow you to customize the default display text:

Examples

This example shows how to use custom colors to paint a ProgressBarControl's progress bar.

ProgressBarControl-StartEndColors.png

progressBarControl1.Properties.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid;
progressBarControl1.Properties.EndColor = System.Drawing.Color.SteelBlue;
progressBarControl1.Properties.StartColor = System.Drawing.Color.PowderBlue;
progressBarControl1.Properties.ShowTitle = true;
progressBarControl1.Properties.LookAndFeel.SetStyle(DevExpress.LookAndFeel.LookAndFeelStyle.UltraFlat, false, false);
See Also