Events and Methods in UWP Navigation Drawer (SfNavigationDrawer)

25 Feb 20221 minute to read

The below two events are implemented in Transition.

  • Opened
  • Closed

Opened

Opened event will be raised when the DrawerContentView is opened in NavigationDrawer.

  • C#
  • public event DrawerEventHandler Opened;

    Closed

    Closed event will be raised when the DrawerContentView is closed in NavigationDrawer.

  • C#
  • public event DrawerEventHandler Closed;

    Toggle Drawer

    Represents the opening and closing of the navigation drawer

  • C#
  • drawer.ToggleDrawer();