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

What range can the value of BusyIndicator Duration take?

I have made changes to the Duration of the BusyIndicator with no discernible change in behavior. Say, for the Gear - what is a Duration that would make it move really slowly? Really quickly? (Note: I have been testing in Xamarin Forms - UWP)
Thanks!

3 Replies

MS Mugundhan Saravanan Syncfusion Team March 27, 2019 12:46 PM UTC

Hi Will Autio,

Greetings from Syncfusion.

Query: "What range can the value of BusyIndicator Duration take?".

We have validated the reported query and in our current implementation, we don’t provide support for Duration property in Forms.UWP but you can achieve this by using CustomRenderer with AnimationSpeed propertyPlease have the sample and code snippet for your reference.

Code Snippet:
 public class CustomBusyIndicatorRenderer : SfBusyIndicatorRenderer
    {
        protected override void OnElementChanged(ElementChangedEventArgs<SfBusyIndicator> e)
        {
            base.OnElementChanged(e);
            if (Control != null)
            {
                Control.AnimationSpeed = 200;
            }
        }
    }



Please let us know if you have any other concern.

Thanks,
Mugundhan S.



WA Will Autio March 27, 2019 02:48 PM UTC

Hi Mugundhan,
Thanks for the reply and sample code.
Regards,
Will


MK Muneesh Kumar G Syncfusion Team March 28, 2019 09:18 AM UTC

Hi Will Autio, 
 
Thanks for the update. Please let us know if you need any further assistance. 

Regards,
 
Muneesh Kumar G. 


Loader.
Live Chat Icon For mobile
Up arrow icon