【发布时间】:2014-09-17 12:52:53
【问题描述】:
我正在构建我的第一个 Silverlight 应用程序,并尝试在我的一个视图中使用 WrapPanel。但是我收到以下错误。
错误 1 名称空间中不存在名称“WrapPanel” “http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit”。
我的代码:
xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
...
<toolkit:WrapPanel Height="657" Width="657" />
我需要安装一个包还是什么?如果有,怎么做?
【问题讨论】:
-
-
你添加了对
System.Windows.Controls.Toolkit的引用吗?
标签: c# xaml silverlight wrappanel