Description
Current behavior
After discussing with @MartinZikmund I would like to present this bug.
In the OuterCtrl, we use a ContentPresenter to switch between 2 different Subpages Lowpass.xaml and Highpass.xaml.
We want to use the ContentPresenter, because only the active Page.xml will be instantiated, no other one will be.
In the DataContext, we transport our ViewModels.
BUG: After any of the two pages is correcty loaded, having a DataContext of the type of the respective page-ViewModel, ===> SOMETIMES the DataContext changes to null. See comments in LowPassCtrl.xaml.cs.
To reproduce the bug, switch the active page 2 or 3 times while editing also the content of the respective TextBox.
Expected behavior
No response
How to reproduce it (as minimally and precisely as possible)
No response
Workaround
No response
Works on UWP/WinUI
None
Environment
No response
NuGet package version(s)
No response
Affected platforms
No response
IDE
Visual Studio 2022
IDE version
No response
Relevant plugins
No response
Anything else we need to know?
No response
Activity