Ejemplo n.º 1
0
        public AddColumn()
        {
            InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null) ApplicationBar.MatchOverriddenTheme(); };

            if(ApplicationBar != null)
                ApplicationBar.MatchOverriddenTheme();

            viewModel = new AddColumnModel();
            DataContext = viewModel;
            this.Loaded += new RoutedEventHandler(AddColumn_Loaded);
        }
Ejemplo n.º 2
0
        public AddColumn()
        {
            InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null)
                                                              {
                                                                  ApplicationBar.MatchOverriddenTheme();
                                                              }
            };

            if (ApplicationBar != null)
            {
                ApplicationBar.MatchOverriddenTheme();
            }


            viewModel    = new AddColumnModel();
            DataContext  = viewModel;
            this.Loaded += new RoutedEventHandler(AddColumn_Loaded);
        }