Example #1
0
        private async void NavigationHelper_LoadState(object sender, LoadStateEventArgs e)
        {
            vm = App.CommanderVM;

            DataContext = null;
            LeftFlipView.DataContext = null;
            RightFlipView.DataContext = null;

            DataContext = vm;
            LeftFlipView.DataContext = vm.LeftPanel;
            RightFlipView.DataContext = vm.RightPanel;

            MainContent.SelectedIndex = vm.CurrentActivePanel;

            await vm.ChangeLeftDir();
            await vm.ChangeRightDir();
        }
Example #2
0
 private void NavigationHelper_LoadState(object sender, LoadStateEventArgs e)
 {
 }