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.
Unfortunately, activation email could not send to your email. Please try again.

How to change animation speed in BusyIndicator?

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:

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7092 08/31/2016 08/31/2016 Xamarin.Forms SfBusyIndicator
Did you find this information helpful?
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
Add Comment
You must log in to leave a comment

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.