问题:
使用wpf的popup,当在popup中弹出MessageBox或者打开对话框的时候,popup总是置顶,并遮住MessageBox或对话框.
解决:
写如下用户控件
需导入的空间: using System.Windows.Controls.Primitives;
using System.Runtime.InteropServices;
using System.Windows.Interop;
问题:
使用wpf的popup,当在popup中弹出MessageBox或者打开对话框的时候,popup总是置顶,并遮住MessageBox或对话框.
解决:
写如下用户控件
需导入的空间: using System.Windows.Controls.Primitives;
using System.Runtime.InteropServices;
using System.Windows.Interop;