如何在UWP中使gridview水平工作? [英] How can I have a gridview work horizontally in UWP?

查看:131
本文介绍了如何在UWP中使gridview水平工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Gridview,我希望项目被分组和水平流动。这些组仍然在垂直滚动。我怎样才能解决这个问题?

I have a Gridview where I want items to be grouped and flow horizontally. The groups are still vertically scrolling. How can I fix this?

推荐答案

        <GridView.ItemsPanel>
            <ItemsPanelTemplate>
                <ItemsWrapGrid MaximumRowsOrColumns="3"/>
            </ItemsPanelTemplate>
        </GridView.ItemsPanel>

这篇关于如何在UWP中使gridview水平工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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