Configuring The Drawer In Different Sides

30 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 SfNavigationDrawer sliding position to the left.

Position sliderposition = Position.Left;	
	navigationDrawer.Position=sliderposition;

Sets the SfNavigationDrawer sliding position to the right.

Position sliderposition = Position.Right;	
	navigationDrawer.Position=sliderposition;

Top

Sets the SfNavigationDrawer sliding position to the top.

Position sliderposition = Position.Top;	
   	navigationDrawer.Position=sliderposition;

Bottom

Sets the SfNavigationDrawer sliding position to the bottom.

  • C#
  • Position sliderposition = Position.Bottom;	
    	navigationDrawer.Position=sliderposition;