We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display percentage value in the ProgressBar?

Platform: WinForms |
Control: ProgressBarAdv |
Published Date: August 31, 2015 |
Last Revised Date: August 31, 2015

You can display the percentage value in the ProgressBarAdv by using the TextStyle property. This property helps you to specify the format of the text value in the ProgressBarAdv. The categories of the ProgressBarTextStyles are:

  1. Percentage.
  2. Value.

 

Percentage: Specifies the text of the ProgressBarAdv in the percentage value.

 

Value: Specifies the text of the ProgressBarAdv in a specified value format. The format is the ProgressBarAdv value or the Maximum value. For example, the value is displayed as 75/100.

The following code example demonstrates the same.

 

C#

 

VB

 

Figure 1: ProgressBarAdv TextValue specified as Percentage

Figure 2: ProgressBarAdv TextValue specified as Value.

Sample Links:

C#: ProgressBarAdv_TextStyle_C#

VB: ProgressBarAdv_TextStyle_VB

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon