WPF4:TaskBarItem和自定义Image [英] WPF4: TaskBarItem and custom Image

查看:66
本文介绍了WPF4:TaskBarItem和自定义Image的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



用于Microsoft .NET Framework的Windows API代码包允许设置要在TaskBarPreview中显示的自定义图像或特定控件。有没有办法用WPF 4(BETA 2)做到这一点?我查看了System.Windows.Shell的文档,发现我从Code Pack中知道了很多功能 - 但没有提到的。我只是"只有"可以放大窗口。

问候,
曼弗雷德

Hi,

the Windows API Code Pack for Microsoft .NET Framework allows to set a custom image or a specific control to display in the TaskBarPreview. Is there a way to do this with WPF 4 (BETA 2)? I took a look over the documentation for System.Windows.Shell and found there a lot of features I know from the Code Pack - but not the mentioned one. I "only" can zoom into the window.



Regards,
Manfred

推荐答案

嗨Manfred,< WPF围绕Win7 API集的包装并不是一个完整的实现,因此在WinF原生Win7 API或Win7团队创建的代码包中可能出现的一些事情可能在WPF本身中不可用。设置自定义预览图像就是其中之一。

安德郎
Hi Manfred,

WPF's wrapper around the Win7 API set isn't a full implementation, so some things that may be possible in the native Win7 APIs or in the code pack the Win7 team created may not be available in WPF itself.  Setting a custom preview image is one of them.

Andre


这篇关于WPF4:TaskBarItem和自定义Image的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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