Can not viewer Designer Window #2864
Replies: 7 comments
-
Designer Window? What are you referring to? |
Beta Was this translation helpful? Give feedback.
-
trying to view how you codded button for dark mode ect |
Beta Was this translation helpful? Give feedback.
-
oh, you mean opening the ILSpy in Visual Studio and viewing the WPF Designer for the main window. |
Beta Was this translation helpful? Give feedback.
-
yes doesn't seem to work |
Beta Was this translation helpful? Give feedback.
-
What is the error message you are seeing? It works fine for me in VS 2022. |
Beta Was this translation helpful? Give feedback.
-
This is the XAML used for the dark mode button. <CheckBox IsChecked="{Binding SessionSettings.IsDarkMode}" ToolTip="{x:Static properties:Resources.DarkMode}">
<Image Source="Images/DarkMode.png" Stretch="None" Style="{StaticResource DarkModeAwareImageStyle}"/>
</CheckBox> In the end the dark mode handling is implemented here: https://github.com/icsharpcode/ILSpy/blob/master/ILSpy/Themes/ThemeManager.cs I hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Note that you need VS2022 because ILSpy is using .NET 6.0. |
Beta Was this translation helpful? Give feedback.
-
Hi i cant seem to view designer form in latest build for some reason
Beta Was this translation helpful? Give feedback.
All reactions