M.
Explore posts from servers✅ Issue with Triggering View Change in Avalonia using C#
Hi,
So I took an example from your code, and I just have two errors that I can't resolve in my
AvaloniaNavigationService.cs
- Cannot resolve symbol 'MainWindow' | Line : var window = (Window)Avalonia.Application.Current.MainWindow;
- Cannot resolve symbol 'IQueryAttributable' | Line: if (instance is IQueryAttributable attributable)
- 📂 Navigation
- AvaloniaNavigationService.cs
- INavigationService.cs
- QueryPropertyAttribute.cs
- Routing.cs
My codes :
AvaloniaNavigationService.cs
22 replies
✅ Issue with Triggering View Change in Avalonia using C#
Because my issue is simply that I can't change the displayed user control from another user control that is already displayed. If I click on buttons that change the user control directly from the main window, it works perfectly.
22 replies