windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitembaseprogressbar.md
Gets or sets whether the control displays the textual representation of the progress bar’s current position.
Namespace : DevExpress.XtraEditors.Repository
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool ShowTitle { get; set; }
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Property ShowTitle As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true , to display the text; otherwise, false.
|
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:
The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowTitle property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
_prbLess25.EndColor = Color.Red;
_prbLess25.ShowTitle = true;
_prbLess25.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid;
how-to-use-docvariable-fields/CS/DocumentVariablesExample/MyProgressIndicator.cs#L32
_Indicator.Properties.Maximum = maxProgress;
_Indicator.Properties.ShowTitle = true;
_Indicator.EditValue = currentProgress;
_prbLess25.EndColor = Color.Red
_prbLess25.ShowTitle = True
_prbLess25.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid
how-to-use-docvariable-fields/VB/DocumentVariablesExample/MyProgressIndicator.vb#L32
_Indicator.Properties.Maximum = maxProgress
_Indicator.Properties.ShowTitle = True
_Indicator.EditValue = currentProgress
See Also
RepositoryItemBaseProgressBar Class