Articles in this section
Category / Section

How to change the position of .NET MAUI Navigation Drawer?

2 mins read

The .NET MAUI Navigation Drawer can be positioned from any side by setting the Position property with the following options:

  • Left
  • Right
  • Top
  • Bottom

Note
The default position is Left.

Left
Set the navigation pane to open from the Left side.

XAML

<navigationdrawer:SfNavigationDrawer x:Name="navigationDrawer">
    <navigationdrawer:SfNavigationDrawer.DrawerSettings>
        <navigationdrawer:DrawerSettings Position="Left">
        ...
        </navigationdrawer:DrawerSettings>
    </navigationdrawer:SfNavigationDrawer.DrawerSettings>
    ...
</navigationdrawer:SfNavigationDrawer>

Output

AndroidEmulator-pixel_5_-_api_34_55542024-03-1414-45-19-ezgif.com-video-to-gif-converter.gif

Right
Set the navigation pane to open from the Right side.

XAML

<navigationdrawer:SfNavigationDrawer x:Name="navigationDrawer">
    <navigationdrawer:SfNavigationDrawer.DrawerSettings>
        <navigationdrawer:DrawerSettings Position="Right">
          ...
        </navigationdrawer:DrawerSettings>
    </navigationdrawer:SfNavigationDrawer.DrawerSettings>
    ...
</navigationdrawer:SfNavigationDrawer>

Output

AndroidEmulator-pixel_5_-_api_34_55542024-03-1414-41-52-ezgif.com-video-to-gif-converter.gif

Top
Set the navigation pane to open from the Top side.
XAML

<navigationdrawer:SfNavigationDrawer x:Name="navigationDrawer">
    <navigationdrawer:SfNavigationDrawer.DrawerSettings>
        <navigationdrawer:DrawerSettings Position="Top">
          ...
        </navigationdrawer:DrawerSettings>
    </navigationdrawer:SfNavigationDrawer.DrawerSettings>
    ...
</navigationdrawer:SfNavigationDrawer>

Output

AndroidEmulator-pixel_5_-_api_34_55542024-03-1414-44-26-ezgif.com-video-to-gif-converter.gif

Bottom
Set the navigation pane to open from the Bottom side.

XAML

<navigationdrawer:SfNavigationDrawer x:Name="navigationDrawer">
    <navigationdrawer:SfNavigationDrawer.DrawerSettings>
        <navigationdrawer:DrawerSettings Position="Bottom">
          ...
        </navigationdrawer:DrawerSettings>
    </navigationdrawer:SfNavigationDrawer.DrawerSettings>
    ...
</navigationdrawer:SfNavigationDrawer>

Output

AndroidEmulator-pixel_5_-_api_34_55542024-03-1414-44-43-ezgif.com-video-to-gif-converter.gif

Conclusion
I hope you enjoyed learning how to change the position of the .NET MAUI Navigation Drawer.

Refer to our .NET MAUI Navigation Drawer feature tour page to learn about its other groundbreaking feature representations. You can explore our .NET MAUI Navigation Drawer documentation to understand how to present and manipulate data.

For current customers, check out our .NET MAUI components on the License and Downloads page. If you are new to Syncfusion®, try our 30-day free trial to explore our .NET MAUI Navigation Drawer and other .NET MAUI components.

Please let us know in the comments section if you have any queries or require clarification. You can also contact us through our support forums, Direct-Trac, or feedback portal, or the 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