Show Drawer programaticallty like a Dialog #2707
-
Hello. Actually is possible show a dialog programatically though DialogHost.Show(). How can I do the same with a DrawerHost? |
Beta Was this translation helpful? Give feedback.
Answered by
Keboo
May 22, 2022
Replies: 1 comment
-
There is not a static method for it. Topically you would simply set the appropriate *IsOpen property to open and close it. This could either be done with data binding (binding to a boolean property on your view model) or simply accessing the drawer host directly in your code behind. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ElieTaillard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is not a static method for it. Topically you would simply set the appropriate *IsOpen property to open and close it. This could either be done with data binding (binding to a boolean property on your view model) or simply accessing the drawer host directly in your code behind.