Binding on LeftDrawerWidth hides all content/behavior of NavigationDrawer
See original GitHub issueHi guys,
With your demo, I have tried to bind this property from NavigationDrawer, LeftDrawerWidth to actual Width from the window to display more content.
<styles:NavigationDrawer Name="LeftDrawer" LeftDrawerWidth="{Binding $parent[Window].Bounds.Width}"
LeftDrawerOpened="{Binding ElementName=NavDrawerSwitch, Path=IsChecked, Mode=TwoWay}">
When I want to open that NavigationDrawer, the content is hidden on the left and when you enlarge the window’s size, this control take the right width but we can’t close anymore this NavigationDrawer.
Have you some clues about that ? Without Binding and set a static LeftDrawerWidth, it’s working but I need to adjust width depend on screen we have.
Thanks in advance.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Releases · AvaloniaCommunity/Material.Avalonia
... Fix binding on LeftDrawerWidth hides all content/behavior of NavigationDrawer #151; Fix custom dialog view datacontext binding #152; Fix ProgressBar ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi Tenjim I’m glad to see the problem was solved! This issue will be closed after next release.
The detail of changes will visible in commits. We didn’t wrote any release notes after publish. May I will try to write some release notes I think.
Hi @appleneko2001,
Thanks and noted for commits 😃