解决方法
@H_301_7@ 您可以使用以下代码:[DllImport("user32.dll")] static extern bool SetWindowPos( IntPtr hWnd,IntPtr hWndInsertAfter,int X,int Y,int cx,int cy,uint uFlags); const UInt32 SWP_NOSIZE = 0x0001; const UInt32 SWP_NOMOVE = 0x0002; static readonly IntPtr HWND_BOTTOM = new IntPtr(1); static void SendWpfWindowBack(Window window) { var hWnd = new WindowInteropHelper(window).Handle; SetWindowPos(hWnd,HWND_BOTTOM,SWP_NOSIZE | SWP_NOMOVE); }
资料来源:http://www.aeroxp.org/board/lofiversion/index.php?t4983.html