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 NavigationDrawer Width and Animation Duration of SfNavigationDrawer control

Syncfusion NavigationDrawer in Xamarin provides Duration property to set time taken for the drawer to get open. DrawerWidth property is to set the width of the drawer.

 

To set Duration in NavigationDrawer follow the given procedures below.

 

Step 1: Create NavigationDrawer sample and set the value for Duration property.

 

Step 2: When you swipe to open the Drawer, the time to display the DrawerContentView is based on the value given in Duration property.

 

To set Width for DrawerView in NavigationDrawer follow the given procedures below.

 

Step 1: Create NavigationDrawer sample and set the value for DrawerWidth.

 

Step 2: Width of the Drawer get vary based on the value given in DrawerWidth property.

 

The below code illustrates the way to achieve this.

 

XAML code:

 

 

 

Image of change in DrawerWidth:

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7658 04/10/2017 04/10/2017 Xamarin.Forms SfNavigationDrawer
Did you find this information helpful?
Comments
demo demo Apr 02, 2018

https://www.syncfusion.com/support/directtrac/incidents/202494

Please check once above link.if any one have an idea reagarding this please share with me..

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.