Configuring The Drawer In Different Sides

31 Aug 20171 minute to read

The Position property specifies the sliding position of the DrawerView panel. The Position property has the following four options.

  • Left

  • Right

  • Top

  • Bottom

NOTE

The default option is Left.

Left

Sets the NavigationDrawer sliding position to the left.

navigation.Position = SFNavigationDrawerPosition.SFNavigationDrawerPositionLeft;

Sets the NavigationDrawer sliding position to the right.

navigation.Position = SFNavigationDrawerPosition.SFNavigationDrawerPositionRight;

Top

Sets the NavigationDrawer sliding position to the top.

navigation.Position = SFNavigationDrawerPosition.SFNavigationDrawerPositionTop;

Bottom

Sets the NavigationDrawer sliding position to the bottom.

navigation.Position = SFNavigationDrawerPosition.SFNavigationDrawerPositionBottom;