如何包含 System.Windows.Shapes? [英] How do I include System.Windows.Shapes?

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

问题描述

我将 Visual Studio 2008 与 .NET Framework (v3.5) 结合使用.我似乎无法使用 System.Windows.Shapes 或除 Forms 之外的任何 System.Windows.* .

I am using Visual Studio 2008 with the .NET Framework (v3.5). I cannot seem to use System.Windows.Shapes, or anything System.Windows.* besides Forms.

这里是课程描述的链接:

Here is the link to the class description:

System.Windows.Shapes(MSDN 库)

我需要做一些特殊的事情才能使用它吗?

Is there some special thing I need to do to use it?

我检查了所有框架文件夹,我唯一的用于 System.Windows 的 dll/xml 文件是 System.Windows.Forms.

I checked in all of the framework folders, and the only dll/xml files I have for System.Windows is System.Windows.Forms.

我需要做什么才能让它发挥作用?

What do I need to do to get this to work?

推荐答案

此类是 WPF 的一部分,来自 MSDN:

This class is part of WPF, from MSDN:

形状类

程序集:PresentationFramework(在presentationframework.dll中)

Assembly: PresentationFramework (in presentationframework.dll)

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

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