Add Drawer Always In Top Feature. #2679
-
I used Bottom Drawer to host an Virtual Keyboard control in my app, and I want when I open the Dialog and click into an textbox in that Dialog, the bottom Drawer will be visible then I can touch the key in Virtual Keyboard to fill the textbox, but the problem is, the Dialog is always in top most, then I can not touch the Virtual Keyboard anymore. Can we have some thing way to set the Drawer alway in the top of any other object please. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The Z-order of the DrawerHost and DialogHost can be controlled within your application. There are likely two things going on here. First, by default the Next, you will need to make sure that the DialogHost is contained within your DrawerHost. The order in which one of these is on-top is based on which is contained within the other, with the outer one being on top of the inner one. |
Beta Was this translation helpful? Give feedback.
The Z-order of the DrawerHost and DialogHost can be controlled within your application. There are likely two things going on here. First, by default the
DialogHost
puts its contents inside of a Popup control, this means that the dialog itself is outside of the window and will always be on top (this has the benefit of the Dialog's content being able to be larger than the hosting window). However, if you would prefer to have the dialog contained within the window, there is a second styleMaterialDesignEmbeddedDialogHost
that you can use. This will put the dialog as part of your window's visual tree (allowing other things to be on top of it), but comes with the restriction that your dialog c…