question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Binding on LeftDrawerWidth hides all content/behavior of NavigationDrawer

See original GitHub issue

Hi 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:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
appleneko2001commented, Jan 31, 2022

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.

0reactions
Tenjimcommented, Jan 31, 2022

Hi @appleneko2001,

Thanks and noted for commits 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found