Articles in this section
Category / Section

How to Customize Animation Duration in .NET MAUI Navigation Drawer?

2 mins read

This section explores how to customize the animation duration in the .NET MAUI Navigation Drawer. The Duration property of the Navigation Drawer determines the time taken to complete one animation cycle. Decreasing the duration value speeds up the animation.

XAML

<navigationdrawer:SfNavigationDrawer x:Name="navigationDrawer">
    <navigationdrawer:SfNavigationDrawer.DrawerSettings>
        <navigationdrawer:DrawerSettings  Duration="300"/>                                          
        ...
    </navigationdrawer:SfNavigationDrawer.DrawerSettings>
    ...
</navigationdrawer:SfNavigationDrawer>

C#

SfNavigationDrawer navigationDrawer = new SfNavigationDrawer();
navigationDrawer.DrawerSettings = new DrawerSettings()
{
    Duration = 300,
};
this.Content = navigationDrawer;

Output

navigation duration.gif

Conclusion
I hope you enjoyed learning how to customize animation duration in .NET MAUI Navigation Drawer.
You can refer to our .NET MAUI Navigation Drawer feature tour page to know about its other groundbreaking feature representations and Documentation, and how to quickly get started for configuration specifications. You can also explore our .NET MAUI Navigation Drawer example to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied