Animation duration

Hello, How can I change expanding/collapsing duration? I tired to change AnimationDuration property but it doesn't work. Can you provide template or style?


7 Replies

SS Suganya Sethuraman Syncfusion Team October 22, 2021 06:21 AM UTC

Hi David,

Greetings from Syncfusion.

We have analyzed your requirement. We have achieved your requirement by using AnmimationSpeed API of SfBusyIndicator as shown in the following code snippet,

Code snippet
 
private void Button_Click(object sender, RoutedEventArgs e) 
        { 
            busyIndicator.AnimationSpeed = 200; 
        } 

Please have a sample for your reference,


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/BusyIndicator_Animation397871229

Please check if the sample satisfies your requirement and let us know if you have any concerns.

Regards,
Suganya Sethuraman.
 



DA David October 22, 2021 10:56 AM UTC

Hello,

The SfNavigationDrawer doesn't have such property. There is only

navigationDrawer.AnimationDuration = new TimeSpan(200); but when I change expanding duration is the same.



SS Suganya Sethuraman Syncfusion Team October 22, 2021 11:30 AM UTC

Hi David,

Sorry for the inconvenience.

We are currently validating on this, and we will update the complete details on October 26, 2021. We appreciate your patience until then.

Regards,
Suganya Sethuraman.
 



DA David October 27, 2021 06:27 AM UTC

Hello, Have you fixed the problem?

Best regards



SS Suganya Sethuraman Syncfusion Team October 27, 2021 01:21 PM UTC

Hi David,

We would like to let you know that AnimationDuration is only applicable when the DisplayMode is set as Default. In your application, which DisplayMode are you using?

Please refer the following link for more information.

Link:
Class SfNavigationDrawer - WPF API Reference | Syncfusion

Regards,
Suganya Sethuraman.
 



DA David October 27, 2021 01:36 PM UTC

I'm using Expanded displayMode. Is there any possibility to change the expanding/collapsing speed?



SS Suganya Sethuraman Syncfusion Team October 28, 2021 10:20 AM UTC

Hi David,

Currently we do not have support to achieve your requirement “Provide AnimationDuration support for both Expand and Compact DisplayMode in SfNavigationDrawer” but we have logged this as a feature request, and you can track the status of this feature implements through the below link.

Feedback link: https://www.syncfusion.com/feedback/29913

Please cast your vote to make it count. We will prioritize the features every release based on the demands.

If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal.

Regards,
Suganya Sethuraman.
 


Loader.
Up arrow icon