Order items horizontal in XAML GridView (Win8 / Metro)

前端 未结 3 828
孤独总比滥情好
孤独总比滥情好 2021-02-10 22:21

how can i sort the items of GridView horizontal in the XAML? Sadly i found no method to achieve this. The Keyword \"Orientation\" is not available. Here is my current GridView:<

3条回答
  •  遥遥无期
    2021-02-10 22:36

    Sorry, I have to take issue with your comment that this cannot be done with a VariableSizedWrapGrid. It most certainly can:

    
        
            
                
            
        
        One
        Two
        Three
        Four
    
    

    And I have to take issue that VariableSizedWrapGrid cannot be used for creating items through ItemsSource. It most certainly can. WrapGrid and VariableSizedWrapGrid are fundamentally identical. WrapGrid is slightly lighter weight since it does not support Column and Row spanning.

提交回复
热议问题