wpfui
wpfui copied to clipboard
Getting errors from following tutorial.
Describe the bug
I'm getting 3 errors after following the tutorial.
1:
2:
3:

Desktop (please complete the following information):
- OS: Windows 11
- .NET: Net 6.0 Long Term Release
- Version: Latest stable release 2.01
Documentation is flawed; you need to use the ui:UiWindow class instead of Window.
(As a temporary fix to a bigger problem, you can use the WPFUI extension for VS)
I was able to get around these issues by making the following changes:
Change Style="{StaticResource UiWindow}" to Style="{StaticResource DefaultChromeWindowStyle}"
Create a Pages folder and add 2 WPF Pages to it named Dashboard and Settings.
You's also have to change the import namespace for WPFUI to ui:
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"