WinRT GridView But No GridViewColumn

2019-05-29 07:58发布

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

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?

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

1条回答
Anthone
2楼-- · 2019-05-29 08:14

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>
查看更多
登录 后发表回答