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 restrict the cropping of circle progressbar while increasing the StrokeThickness

StrokeThickness of ArcSegments in SolidCircular progress type can be increased using StrokeThickness and BackRimStrokeThickness properties of SfProgressBar. If we only increase the thickness of the SolidCircular progressbar against its size, it may lead to alignment problem in SfProgressBar. To avoid this, we must increase the size of the control along with it. The following code demonstrate the same,

 

Mainwindow.xaml:

 

Output:

The following output shows the alignment problem in ProgressBar if the StrokeThickness is modified against the size,

StrokeThickness and BackStrokeThickness is 10 and Size of the control is 150 (Default)

Above alignment can be restricted by changing the size of the control along with it.

StrokeThickness and BackStrokeThickness is 10 and Size of the control is 200

 

Sample:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/SfProgressBar_Thickness-1633372527.zip

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8793 05/31/2018 05/31/2018 UWP SfProgressBar
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Please sign in to access our KB

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

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