Esempio n. 1
0
        public MainPage()
        {
            this.InitializeComponent();
	        DataContext = new MainPageViewModel();
			((MainPageViewModel)DataContext).PropertyChanged += OnPropertyChanged;
        }
Esempio n. 2
0
		public MainPage()
		{
			DataContext = new MainPageViewModel();
			InitializeComponent();
		}