网格视图在VS2012中的wpf xaml中无效? [英] Grid view is not active for use in wpf xaml in VS2012?

查看:85
本文介绍了网格视图在VS2012中的wpf xaml中无效?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Visual Studio 2012并开发wpf应用程序,我需要使用网格视图控件。在右键单击工具箱并选择显示全部,常见的xaml控件与网格视图一起显示。但它们不能激活使用。为什么?任何人都可以告诉我如何使用wpf格式的网格视图吗?谢谢

I am using Visual Studio 2012 and developing wpf application and i need to use grid view control .On right clicking toolbox and selecting Show all, Common xaml controls appear along with grid view.But they not active for use.why? Can any body tell me how i can use grid view in wpf form ?Thanks

推荐答案

你不需要通过工具箱 - >在选项卡WPF组件中选择项目 - >。



实际上组件默认可用。但是,如果当前窗口是代码窗口(窗口是你不能放入控件),你提到的情况可能会发生。



请解释一下。
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.


Common XAML选项卡适用于Windows应用商店应用,不能在WPF中使用。它是故意隐藏的。当您选择显示隐藏的选项卡时,所有无法使用的内容都将被禁用。如果您显示当前应用程序不适合的内容,也会发生同样的事情。

您无法在WPF中使用Windows Store GridView
Common XAML tab is for Windows Store applications and can't be used in WPF. It was hidden intentionally. When you selected to show hidden tabs, all the stuff which can't be used gets disabled. The same thing will always happen if you show something inappropriate for the current application.
You can't use Windows Store GridView in WPF


这篇关于网格视图在VS2012中的wpf xaml中无效?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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