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); }
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); }