繁体   English   中英

Visual Studio 2012(x64)-Windows Phone工具包-如何在VS中的工具箱中添加WP工具箱自定义控件

[英]Visual Studio 2012 (x64) - Windows Phone Toolkit - How to Add WP toolkit custom controls to toolbox in VS

问题如下:

我在Windows 8(x64)上安装了带有Windows Phone 8 SDK的 Visual Studio 2012 (x64)

在我的项目( 针对WP 8.0与.NET 4.5的WP8应用 )中,我已经添加( 通过NuGet )Windows Phone Toolkit,并且希望将其提供的自定义控件添加到toolbox中 有办法吗?

我管理了一次,但是由于某种原因,之后我无法从工具箱中添加LongListSelector。

编辑:

我要在VS 2102中的工具箱中显示WP工具箱中添加的自定义控件

您可以从http://phone.codeplex.com/sourcecontrol/latest下载或浏览NuGet WPToolkit示例代码。

在这里,所有的自定义控件都已通过示例完美定义。 您可以通过此方法直接实现XAML和C#代码。

希望对您有帮助。 不要忘记将其标记为答案。 如果有帮助的话。

请参考此答案 添加控件时,浏览到WP Toolkit文件夹。 为了您的方便,将特定答案复制到此处,如下所示:

In my windows 8 machine it usually points to
your project where WPToolkit is installed
[WPtoolkit.4.2013.08.16\lib\sl4-windowsphone71\Microsoft.Phone.Controls.Toolkit.dll]
Please note, Although, I have chosen a WP8 project, I had to choose the 7.1 dll to make to add it to the Toolbox. the wp8 folder failed to add.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM