Back to Devexpress

RepositoryItemBaseProgressBar.ShowTitle Property

windowsforms-devexpress-dot-xtraeditors-dot-repository-dot-repositoryitembaseprogressbar.md

latest4.5 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleanfalse

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:

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.

winforms-grid-display-colored-progress-bars/CS/ColoredProgressBar/DifferentRepositoriesProgressBar.cs#L27

csharp
_prbLess25.EndColor = Color.Red;
_prbLess25.ShowTitle = true;
_prbLess25.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid;

how-to-use-docvariable-fields/CS/DocumentVariablesExample/MyProgressIndicator.cs#L32

csharp
_Indicator.Properties.Maximum = maxProgress;
_Indicator.Properties.ShowTitle = true;
_Indicator.EditValue = currentProgress;

winforms-grid-display-colored-progress-bars/VB/ColoredProgressBar/DifferentRepositoriesProgressBar.vb#L34

vb
_prbLess25.EndColor = Color.Red
_prbLess25.ShowTitle = True
_prbLess25.ProgressViewStyle = DevExpress.XtraEditors.Controls.ProgressViewStyle.Solid

how-to-use-docvariable-fields/VB/DocumentVariablesExample/MyProgressIndicator.vb#L32

vb
_Indicator.Properties.Maximum = maxProgress
_Indicator.Properties.ShowTitle = True
_Indicator.EditValue = currentProgress

See Also

TextOrientation

RepositoryItemBaseProgressBar Class

RepositoryItemBaseProgressBar Members

DevExpress.XtraEditors.Repository Namespace