public void NavigateToNoteEntryPage(Note note) { var noteEntryPage = new NoteEntryPage { BindingContext = note }.CreateViewController(); noteEntryPage.Title = "Note Entry"; _navigation.PushViewController(noteEntryPage, true); }
public void NavigateToNoteEntryPage(Note note) { NoteEntryPage noteEntryPage = new NoteEntryPage { BindingContext = note, // Set the parent so that the app-level resource dictionary can be located. Parent = Xamarin.Forms.Application.Current }; var noteEntryViewController = noteEntryPage.CreateViewController(); noteEntryViewController.Title = "Note Entry"; _navigation.PushViewController(noteEntryViewController, true); noteEntryPage.Parent = null; }