private void OnMyAccountTap(object sender, GestureEventArgs e)
        {
            // Needed on every UI interaction
            App.MegaSdk.retryPendingConnections();

            MainDrawerLayout.CloseDrawer();
        }
Example #2
0
        public BudgetPage()
        {
            this.InitializeComponent();
            MainDrawerLayout.InitializeDrawerLayout();

            this.navigationHelper            = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
        }
Example #3
0
 private void AppBarButton_Click(object sender, RoutedEventArgs e)
 {
     if (MainDrawerLayout.IsDrawerOpen)
     {
         MainDrawerLayout.CloseDrawer();
     }
     else
     {
         MainDrawerLayout.OpenDrawer();
     }
 }