private void OnMyAccountTap(object sender, GestureEventArgs e) { // Needed on every UI interaction App.MegaSdk.retryPendingConnections(); MainDrawerLayout.CloseDrawer(); }
public BudgetPage() { this.InitializeComponent(); MainDrawerLayout.InitializeDrawerLayout(); this.navigationHelper = new NavigationHelper(this); this.navigationHelper.LoadState += this.NavigationHelper_LoadState; this.navigationHelper.SaveState += this.NavigationHelper_SaveState; }
private void AppBarButton_Click(object sender, RoutedEventArgs e) { if (MainDrawerLayout.IsDrawerOpen) { MainDrawerLayout.CloseDrawer(); } else { MainDrawerLayout.OpenDrawer(); } }