问题
Is it possible to design a window in WPF that would allow an inner image to go over the borders of the aeroglass window?
An example of this is the Start Menu in Windows 7:
On this image the user icon is not within the borders of the aeroglass start menu window, but overlaps it.
How did MS achieve this?
My guess: those are two separate windows, stacked on top of one another?
回答1:
What you are trying to do is described in this article:
http://cornucopia30.blogspot.com/2007/07/wpf-non-rectangular-window-sweetness.html
来源:https://stackoverflow.com/questions/7813797/custom-shaped-aero-glass-window-with-wpf