public SelectUser() { InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null) ApplicationBar.MatchOverriddenTheme(); }; ThemeFunctions.SetBackground(LayoutRoot); viewModel = new SelectUserModel(); DataContext = viewModel; UserFilter.TextChanged += new TextChangedEventHandler(OnTextBoxTextChanged); this.Loaded += (sender, e) => viewModel.Loaded(); }
public SelectUser() { InitializeComponent(); Loaded += (sender, e) => { if (ApplicationBar != null) { ApplicationBar.MatchOverriddenTheme(); } }; viewModel = new SelectUserModel(); DataContext = viewModel; UserFilter.TextChanged += new TextChangedEventHandler(OnTextBoxTextChanged); this.Loaded += (sender, e) => viewModel.Loaded(); }