如何在Silverlight中获取System.Windows.Controls.Primitives dll? [英] How to get System.Windows.Controls.Primitives dll in silverlight?

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

问题描述

如何在silverlight中获取System.Windows.Controls.Primitives dll?

How to get System.Windows.Controls.Primitives dll in silverlight?

推荐答案

没有具有该名称的assembly(dll). System.Windows.Controls.Primitives是在多个程序集中存在名称空间

最常见的:

PresentationFramework.dll
System.Windows.Controls.dll
System.Windows.Controls.Data.dll
System.Windows.dll
There is no assembly(dll) with that name. System.Windows.Controls.Primitives is namespace exists in multiple assemblies

Most common :

PresentationFramework.dll
System.Windows.Controls.dll
System.Windows.Controls.Data.dll
System.Windows.dll


您应该在这里找到它们:C:\ Program Files \ Reference Assemblies \ Microsoft \ Framework \ v3.0
you should be finding them here : C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.0


System.Windows.Controls.Primitives是Controls.Data程序集(包含DataGrid的程序集)的一部分.

因此,如果您在xaml中使用它,这就是您需要的-
System.Windows.Controls.Primitives is part of the Controls.Data assembly (the one that contains the DataGrid).

Thus if you are using this in your xaml, this is what you would need -
xmlns:MyPrimtives="clr-namespace:System.Windows.Controls.Primitives;assembly=System.Windows.Controls.Data"


这篇关于如何在Silverlight中获取System.Windows.Controls.Primitives dll?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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