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 change animation speed in BusyIndicator?

Platform: Xamarin.Forms |
Control: SfBusyIndicator |
Published Date: August 31, 2016 |
Last Revised Date: August 31, 2016

To change the Animation Speed in BusyIndicator, follow the given steps:

Step 1: Create BusyIndicator sample and include the necessary source files.

Step 2: Create an instance for BusyIndicator..

Step 3: Then set AnimationType for the BusyIndicator and Enable IsBusy property.

Step 4: Now set the Duration to the BusyIndicator.

public partial class BusyIndictorPage : ContentPage
    {
        SfBusyIndicator busyIndicator;
        public BusyIndictorPage()
        {
            InitializeComponent();

            busyIndicator = new SfBusyIndicator();
            busyIndicator.IsBusy = true;
            busyIndicator.AnimationType = AnimationTypes.Battery;

     busyIndicator.Duration = 5;



            StackLayout stack = new StackLayout();
            stack.Padding = new Thickness(20, 100);
            stack.Children.Add(busyIndicator);

            this.Content = stack;
        }
    }

 

 

The following screenshot shows the animation in BusyIndicator:

 

ADD COMMENT
You must log in to leave a comment
Comments
Slobodan Babic
Jun 03, 2017
Higher the number, faster the animation. Had to try it to figure it out. Should be called AnimationSpeed, really.  And does not seem to have any effect in  UWP project running on Windows 10. Reply
Rathana Kumar Sekar [Syncfusion]
Jun 05, 2017
Hi Slobodan Babic,

In our current implementation we have support only for Xamarin forms android and iOS and we do not have this support for UWP.

Regards,
Rathanakumar S.

Reply
Mark Flagg
Nov 13, 2018

Just came accros this. Please fix it.

Mark Flagg
Nov 13, 2018

in UWP.

Reply
Rathana Kumar Sekar [Syncfusion]
Nov 13, 2018

Hi Mark Flagg,


We will include the Duration support for SfBusyIndicator Xamarin.forms.UWP in our nearest upcoming release.


Regards,

Rathanakumar S.

Reply

Please sign in to access our KB

This page will automatically be redirected to the 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