在Visual Studio 2012 wpf工具箱中,“common xaml contols”禁用 [英] In Visual Studio 2012 wpf toolbox the “common xaml contols” are disable to use
问题描述
我正在使用Visual Studio 2012并开发wpf应用程序,我需要使用网格视图控件。我搜索网格视图:右键单击工具箱 - >在选项卡WPF组件中选择项目 - >但它存在并已在相邻选项卡Windows XAMAL组件中检查。关闭后,我右键单击工具箱 - >单击全部显示。这向我显示了工具箱中的所有隐藏控件选项卡。因此我在Common XAML Control选项卡中找到了网格视图,但它被禁用以供使用,无法在wpf表单上拖动。可以告诉我如何使用网格以wpf格式查看?谢谢
您不需要通过工具箱 - >在选项卡WPF组件中选择项目 - >。
实际上组件默认可用。但是,如果当前窗口是代码窗口(窗口是你不能放入控件),你提到的情况可能会发生。
请解释一下
I am using Visual Studio 2012 and developing wpf application and i need to use grid view control .I search grid view by :right clicking toolbox -> choose items ->in tab WPF Components .But it is present and already checked in adjacent tab "Windows XAMAL component". After closing that i right clicked on toolbox -> clicked Show All .That showed me all hidden control tabs in toolbox .So i found grid view in Common XAML Control Tab but it is disabled for use and can't be dragged on wpf form .Can any body tell me how i can use grid view in wpf form ?Thanks
You don't need to go through toolbox -> choose items ->in tab WPF Components.
Actually the components are available by default. However if the current window is code windows (a window were you can not drop a control into), the case you have mentioned could happen.
Please explain it to me.
这篇关于在Visual Studio 2012 wpf工具箱中,“common xaml contols”禁用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!