本文介绍了WinRT GridView但没有GridViewColumn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有安装Windows 8和Metro.我的问题基于文档.

I do not have Windows 8 and Metro installed. My question is based on the documentation.

看来DataGrid不见了,但ListView和GridView仍然保留. GridViewColumn不见了.我得到了Metro的平铺特性.我的问题是可以为行列演示配置GridView吗?

It appears DataGrid is gone but ListView and GridView remain. GridViewColumn is gone. I get the tile nature of Metro. My question is can GridView be configured for a row column presentation?

我有一个应用程序,在大多数情况下都会在Metro下展现出出色的性能,并会从版权合同中受益.但是只有一页,我需要像演示文稿那样的老式GridViewColumn.谢谢

I have an app that for the most part would present great under Metro and would benefit from rights contracts. But there is one page were I need old school GridViewColumn like presentation. Thanks

推荐答案

我不确定是否收到您的问题.您要添加到ListView/GridView的元素显示在一行中吗?我使用以下代码在水平方向上显示项目:

I'm not sure if I got your question. You want elements added to a ListView/GridView are displayed in a row?I use for the following code to display items in a horizontal orientation:

<GridView>
 <GridView.ItemsPanel>
  <ItemsPanelTemplate>
   <WrapGrid Orientation="Horizontal"/>
  </ItemsPanelTemplate>
 </GridView.ItemsPanel>
</GridView>

这篇关于WinRT GridView但没有GridViewColumn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 06:45