I recently started to use Visual Studio 2022 Professional edition. Whenever I enable visual designer from :
Tools -> Options -> XAML Designer -> General
I check to enable the XAML designer:
When I restart the Visual Studio IDE, nothing is changed, and the option is unchecked again. I tried multiple times, and unfortunately, the XAML code is only visible while the XAML designer is always unchecked.