开发者

Dialog Box not topmost while owner docked app bar is topmost

I have a docked app bar and when you log out, a modal login dialog box is shown. What I really want is to click on the app bar and have the log开发者_如何学Goin box become activated. To do this, I made the app bar the owner of the login dialog box. However, I want the docked app bar to always be topmost, but the login box to not be topmost. Is there a good way to do this?


When I want behavior like this, I make the dialog topmost, but then once it has loaded I remove the topmost. That way the dialog floats to the front, but then, the topmost behavior is gone so it can be moved to the back as desired. If you do this you should be able to remove the parent association you made.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜