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

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

            var view = new ContactView();

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