Skip to content

Drawer Behaviour unaffected by Drawer Host OpenMode value #3185

Closed Answered by nicolaihenriksen
Thomas-Giaroli asked this question in Q&A
Discussion options

You must be logged in to vote

@Thomas-Giaroli I can see that you have Grid.Column=0 applied on the DrawerHost which effectively puts the drawer host in the first column of a table defined higher up the visual tree. Where are you placing the content which is being pushed? In a different column in that same grid? That could be the issue.

Try placing your content directly in the DrawerHost; something along these lines:

<materialDesign:DrawerHost Name="MenuDrawerHost">
  <materialDesign:DrawerHost.LeftDrawerContent>
    <Button Name="ModalTestButton" Click="ModalTestButton_Click" Width="auto" Content="Clique"/>
  </materialDesign:DrawerHost.LeftDrawerContent>

  <!-- Place your "content" here -->

</materialDesign:DrawerHost

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Thomas-Giaroli
Comment options

Answer selected by Thomas-Giaroli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants