Back to Devexpress

ASPxProgressBar.ShowPosition Property

aspnet-devexpress-dot-web-dot-aspxprogressbar.md

latest2.5 KB
Original Source

ASPxProgressBar.ShowPosition Property

Gets or sets a value that specifies whether the progress bar indicator‘s current position is visible within the progress bar.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(true)]
public bool ShowPosition { get; set; }
vb
<DefaultValue(True)>
Public Property ShowPosition As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true, if the position is visible, otherwise, false.

|

Remarks

Note

The progress bar indicator is not displayed in the Metropolis and Metropolis Blue themes, because the themes are designed to be compact and minimalistic.

To learn how to display the progress bar indicator in the Metropolis themes, see the following Knowledge Base article: KA18643: Why some control settings are not in effect if the Theme property is used.

This property is a wrapper of the ProgressBarProperties.ShowPosition property.

Example

The example below illustrates how to hide the progress bar indicator in the control.

aspx
<dx:ASPxProgressBar ID="ASPxProgressBar1" runat="server" ShowPosition="false" 
    Position="60" Width="200px">
</dx:ASPxProgressBar>

See Also

Position

Maximum

Minimum

Progress Bar

ASPxProgressBar Class

ASPxProgressBar Members

DevExpress.Web Namespace