// Constructor
        public MainPage()
        {
            InitializeComponent();

            DataContext = new TodoItemListViewModel();
            Loaded += new RoutedEventHandler(MainPage_Loaded);
        }
Example #2
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            DataContext = new TodoItemListViewModel();
            Loaded     += new RoutedEventHandler(MainPage_Loaded);
        }