如何导入"System.Windows.Documents" [英] How to import "System.Windows.Documents"

查看:567
本文介绍了如何导入"System.Windows.Documents"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如本主题所述,
我曾尝试用Google搜索解决方案,但没有运气〜
我找不到以下参考资料的来源
"

As mention in the subject,
I had tried to google for the solution, but no luck~
I can''t find the sources of following reference
"

using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shell;


"
我正在使用VS2010,
我需要安装任何东西或更改某些配置吗?

屏幕截图参考: https://lh4. googleusercontent.com/-ZCIIB1srrZY/UBFlA6GLuXI/AAAAAAAAALM/5tZAgRLrWX0/s495/Fullscreen+capture+2672012+113856+PM.bmp.jpg [


"
im using VS2010,
did i need to install anything or change some configuration?

Screenshot reference: https://lh4.googleusercontent.com/-ZCIIB1srrZY/UBFlA6GLuXI/AAAAAAAAALM/5tZAgRLrWX0/s495/Fullscreen+capture+2672012+113856+PM.bmp.jpg[^]

推荐答案

您需要添加对"PresentationFramework.dll"的引用,右键单击项目中的"References"条目,单击"Add Reference",在.NET选项卡下查找.
You need to add a reference to "PresentationFramework.dll", right click the "References" entry in your project, click "Add Reference", go under the .NET tab and look for it there.


这篇关于如何导入"System.Windows.Documents"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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