问题
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:
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>
来源:https://stackoverflow.com/questions/10183294/winrt-gridview-but-no-gridviewcolumn