// Constructor public MainPage() { InitializeComponent(); DataContext = new TaskListViewModel(); Loaded += new RoutedEventHandler(MainPage_Loaded); }
// Constructor public MainPage() { InitializeComponent(); DataContext = new TaskListViewModel(); Loaded += new RoutedEventHandler(MainPage_Loaded); }