Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async Task NavigateToContactDetail()
- {
- var contact = new Contact
- {
- Name = "Calvin",
- Phone = " 555-555-5555",
- Address = "123 Something Drive"
- };
- var contactNavParams = contact.ToNavParams();//creates a dictionary of the objects properties and values using reflection
- var contactDetailNavTransaction = new NavTransaction<ContactDetailPage>(contactNavParams);
- await NavigationService.NavigateAsync(NavigationHelper.CreateRelativeNavigationPath(contactDetailNavTransaction);
- }
Add Comment
Please, Sign In to add comment