How do you do a gradient fade to Aero glass in a WPF application like Office 2010 does?

后端 未结 2 2083
礼貌的吻别
礼貌的吻别 2021-02-10 13:21

I am writing an application in WPF and I would like to have the top of the application fade from a color to Aero glass like the Office 2010 applications.

Really it will

2条回答
  •  不知归路
    2021-02-10 13:27

    This reminds me of the way Windows Explorer/Internet Explorer continues Aero glass effect behind the address field. So I'd guess that if there is an API for this kind of effect, it will be a native Vista API which you need to call through P/Invoke similar to extending the glass effect. WPF doesn't really have any methods to control the Vista specific Aero theme I believe.

提交回复
热议问题