Ejemplo n.º 1
0
 public MainVM()
 {
     Menu    = new List <MenuContext>();
     Current = new MenuContext()
     {
         Title = "Create Profile", Body = typeof(Profile)
     };
     Menu.Add(Current);
     Title = "Profile creation";
     Lead  = "Aquiring your profile information from SNS or idenity provider";
 }
Ejemplo n.º 2
0
        private void MenuList_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            ListBox     menuListBox = sender as ListBox;
            MenuContext s           = menuListBox.SelectedItem as MenuContext;

            if (s != null)
            {
                ContentsFrame.Navigate(s.Body);
                //if (Window.Current.Bounds.Width < 640)
                //{
                //    Splitter.IsPaneOpen = false;
                //}
            }
        }