private void BackToSiteContact() { var siteContactPage = new ContactPage(); siteContactPage.DataContext = new ContactViewModel(_parent); _parent.ContactPage = siteContactPage; }
private void SetContactPage() { Page contactPage = new ContactPage(); contactPage.DataContext = new ContactViewModel(this); this.ContactPage = contactPage; }