Custom-shaped Aero glass window with WPF

为君一笑 提交于 2019-12-22 11:37:08

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!