wpfui
wpfui copied to clipboard
IsPaneVisible not work
Describe the bug
I use 3.0.0.0preview4 ui:NavigationView When I set IsPaneVisible to False,Pane always show.
To Reproduce
set IsPaneVisible to False
Expected behavior
Pane should not show
Screenshots
No response
OS version
windows11
.NET version
.Net6
WPF-UI NuGet version
3.0.0.0preview4
Additional context
No response
One way to solve the issue is to add an eventhandler To the the parent Elements load event
Loaded += RootNavigation.IsPaneOpen = False
One way to solve the issue is to add an eventhandler To the the parent Elements load event
Loaded += RootNavigation.IsPaneOpen = False
Nice workaround, but a different problem! IsPaneVisible
!= IsPaneOpen
.
IsPaneVisible
got no code references besied it's definition. So I guess that's why it's not working
https://github.com/search?q=repo%3Alepoco%2Fwpfui%20IsPaneVisible&type=code
Should be fixed in 3.0.4