WPF子窗口隐藏在其父窗口的后面 [英] WPF child window hides behind its parent window

查看:84
本文介绍了WPF子窗口隐藏在其父窗口的后面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我正在从父窗口中打开子窗口,而子窗口又打开了另一个子窗口,当我单击其他位置时,子窗口隐藏在父窗口后面并变得无法访问,任何人都可以建议实现此目的的方法! >

注意:我正在使用MVVM


pcm

解决方案

您好,您是否在子窗口中设置了Owner属性? childWindow.Owner = parentWindow;祝你好运.


 I am opening child window from parent window which in turn opens another child window , when i click somewhere else child window gets hidden behind parent and becomes inaccessible , can anyone suggest ways to acheive this !!

Note :  I am using MVVM


pcm

解决方案

Hello, Have you set the Owner property in the child window? childWindow.Owner = parentWindow; Good Luck.


这篇关于WPF子窗口隐藏在其父窗口的后面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆