Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/289.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Visual Studio 2012(x64)-Windows Phone Toolkit-如何将WP Toolkit自定义控件添加到VS中的工具箱_C#_Visual Studio 2012_Windows Phone 8_Windows Phone 8 Sdk_Windows Phone Toolkit - Fatal编程技术网

C# Visual Studio 2012(x64)-Windows Phone Toolkit-如何将WP Toolkit自定义控件添加到VS中的工具箱

C# Visual Studio 2012(x64)-Windows Phone Toolkit-如何将WP Toolkit自定义控件添加到VS中的工具箱,c#,visual-studio-2012,windows-phone-8,windows-phone-8-sdk,windows-phone-toolkit,C#,Visual Studio 2012,Windows Phone 8,Windows Phone 8 Sdk,Windows Phone 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

问题如下:

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.
我在Windows 8(x64)上安装了带有Windows Phone 8 SDK的Visual studio 2012(x64)

在我的项目(针对.NET 4.5的WP 8.0的WP8应用程序)中,我(通过NuGet)添加了Windows Phone Toolkit,并且我想添加它提供给工具箱的自定义控件。有办法吗

我管理过一次,但由于某种原因,我无法从工具箱中添加LongListSelector

编辑:


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

您可以从

在这里,所有自定义控件都使用示例进行了完美定义。您可以通过这个直接实现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.

您是否在xaml标题中添加引用?@MatDevWp8:yep,我在PhoneApplicationPage定义中添加了xmlns:toolkit=“clr namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.toolkit”。这很好,让我达到了本质上需要的位置,尽管它没有回答我最初的问题。(这是如何将WP toolkit中的自定义控件放入VS2012中的工具箱)。我没有足够的分数给你+1票,否则我就没问题了。如果你在这些样本中发现有用的东西,就把它标记为答案。我听不懂你的问题。这是y首选的链接没有找到答案,但找到了一个很好的资源。我并不需要自定义控件出现在工具箱中,但拥有它是一件很好的事情。我会继续寻找我的答案。