Inheritance: System.Windows.Controls.UserControl
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            var view = new ContactView();
            view.DataContext = new ContactViewModel();
            ContentControl.Content = view;
        }
Beispiel #2
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            var view = new ContactView();

            view.DataContext       = new ContactViewModel();
            ContentControl.Content = view;
        }