i would like to execute a method defined in my ViewModel when i click on a mui:Link.
I tried to use the IContent which provides the OnNavigatedTo method.
public void OnNavigatedTo(NavigationEventArgs e)
MainViewModel vm = this.DataContext as MainViewModel;
It is working but i don't like this approach and looking for better ways to do so.
Would be cool to execute an RelayCommand on mui:link click.
Is there a better solution with less or cleaner Code Behind?
btw: great job, i LOVE m:ui!