自定义形状与WPF的Aero玻璃窗口 [英] Custom-shaped Aero glass window with WPF

查看:149
本文介绍了自定义形状与WPF的Aero玻璃窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能来设计WPF的窗口,允许内部图像走了过来aeroglass窗口的边框?

Is it possible to design a window in WPF that would allow an inner image to go over the borders of the aeroglass window?

这方面的一个例子是Windows 7开始菜单:

An example of this is the Start Menu in Windows 7:

在此图像的用户图标不是aeroglass启动菜单窗口的边界内,但重叠的。

On this image the user icon is not within the borders of the aeroglass start menu window, but overlaps it.

没MS如何实现这一目标?

How did MS achieve this?

我的猜测:这些是两个独立的窗口,堆叠在彼此的顶部?

My guess: those are two separate windows, stacked on top of one another?

推荐答案

你所要做的这篇文章中介绍:

What you are trying to do is described in this article:

http://cornucopia30.blogspot.com/2007/07/wpf-non-rectangular-window-sweetness.html

这篇关于自定义形状与WPF的Aero玻璃窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆