Is it possible to design a window in WPF that would allow an inner image to go over the borders of the aeroglass window?
是否可以在WPF中设计一个窗口,允许内部图像通过aeroglass窗口的边界?
An example of this is the Start Menu in Windows 7:
Windows 7的开始菜单就是一个例子:
On this image the user icon is not within the borders of the aeroglass start menu window, but overlaps it.
在此图像上,用户图标不在aeroglass start菜单窗口的边框内,而是与之重叠。
How did MS achieve this?
MS是如何做到这一点的?
My guess: those are two separate windows, stacked on top of one another?
我猜:那是两个分开的窗户,叠在一起?
1 个解决方案
#1
0
What you are trying to do is described in this article:
本文描述了您正在尝试做的事情:
http://cornucopia30.blogspot.com/2007/07/wpf-non-rectangular-window-sweetness.html
http://cornucopia30.blogspot.com/2007/07/wpf-non-rectangular-window-sweetness.html
#1
0
What you are trying to do is described in this article:
本文描述了您正在尝试做的事情:
http://cornucopia30.blogspot.com/2007/07/wpf-non-rectangular-window-sweetness.html
http://cornucopia30.blogspot.com/2007/07/wpf-non-rectangular-window-sweetness.html