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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to set RangeCap to RangePointer in Xamarin.Forms SfCircularGauge

Platform: Xamarin.Forms |
Control: SfCircularGauge

The RangePointer of SfCircularGauge has rounded corner support to add rounded edge to the start, end, and both sides of the pointer using the RangeCap property. To set rounder corner at the start of the pointer, use RangeCap as Start, and to set rounder corner at the end of the pointer, use RangeCap as End. Similarly, set rounded corner to the both sides using the RangeCap as Both.

The following code snippet demonstrates how to set range cap for range pointer.


    <gauge:SfCircularGauge >
                    <gauge:RangePointer Value="80" RangeStart="20" RangeCap="Both" Thickness="10"  Offset="0.75" Color="Red"/>



            SfCircularGauge gauge = new SfCircularGauge();
            Scale scale = new Scale();
            RangePointer rangePointer = new RangePointer();
            rangePointer.Value = 80;
            rangePointer.RangeStart = 20;
            rangePointer.RangeCap = RangeCap.Both;
            rangePointer.Thickness = 10;
            rangePointer.Offset = 0.75;
            rangePointer.Color = Color.Red;



The following screenshot illustrates the result of setting range cap for range pointer at the start, end, and both sides of the pointer.

Range cap for range pointer using Xamain SfCircularGauge

2X faster development

The ultimate Xamarin UI toolkit to boost your development speed.
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

Live Chat Icon For mobile