wpfui icon indicating copy to clipboard operation
wpfui copied to clipboard

IsPaneVisible not work

Open abaa521 opened this issue 1 year ago • 1 comments

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

abaa521 avatar Nov 23 '23 06:11 abaa521

One way to solve the issue is to add an eventhandler To the the parent Elements load event

Loaded += RootNavigation.IsPaneOpen = False

LudwigAspegren avatar Nov 24 '23 08:11 LudwigAspegren

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

ChainsLunatic avatar May 28 '24 07:05 ChainsLunatic

Should be fixed in 3.0.4

pomianowski avatar May 28 '24 07:05 pomianowski