I'm using WPF ModernUI and I would like to navigate to a page and set the page DataContext as well.
To navigate I'm using the following:
NavigationCommands.GoToPage.Execute("view/pages/TaskEditPage.xaml", this);
Is there any other way to navigate to a page or is there any way to get the instance of that page so I could set the DataContext?