Text Settings in Windows Forms Progress Bar (ProgressBarAdv)
9 Dec 2019 / 1 minute to read
The below are ProgressBarAdv properties to customize the text and its alignment.
Property table
ProgressBarAdv property | Description |
---|---|
TextAlignment | The text on the progress bar can be set to left, center, and right. |
TextOrientation | Indicates the property which decides the orientation of the text. |
TextShadow | Indicates the visibility of the text shadow. |
TextStyle | Indicates the style of the text. |
TextVisible | Determines if the text of the ProgressBarAdv is visible. |
this.progressBarAdv1.TextOrientation = System.Windows.Forms.Orientation.Horizontal;
this.progressBarAdv1.TextAlignment = Syncfusion.Windows.Forms.Tools.TextAlignment.Center;
this.progressBarAdv1.TextStyle = Syncfusion.Windows.Forms.Tools.ProgressBarTextStyles.Value;
this.progressBarAdv1.TextShadow = false;
this.progressBarAdv1.TextVisible = true;
Me.progressBarAdv1.TextOrientation = System.Windows.Forms.Orientation.Horizontal
Me.progressBarAdv1.TextAlignment = Syncfusion.Windows.Forms.Tools.TextAlignment.Center
Me.progressBarAdv1.TextStyle = Syncfusion.Windows.Forms.Tools.ProgressBarTextStyles.Value
Me.progressBarAdv1.TextShadow = False
Me.progressBarAdv1.TextVisible = True
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page