如何设置ListView流向 [英] How to set ListView Flow Direction
本文介绍了如何设置ListView流向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个列表视图,我希望它从左到右.我认为"FlowDirection"会改变这一点.奇怪的是,我只看到"LeftToRight"和"RightToLeft"(这里的标准是标准TopToBottom ??).
显然,它只是一个中心属性或其他内容
我该如何更改?那就是如何使我的列表视图从左到右排列其元素?
I have a listview and I want it to go left to right. I would think that "FlowDirection" changes this. Odly I only see "LeftToRight" and "RightToLeft" (where the heck is the stadard TopToBottom??).
Apparently it is just a centered property or something
How do I get this changed? That is How to I get my listview to layout its elements left to right?
推荐答案
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"></StackPanel>
</ItemsPanelTemplate>
</ListView.ItemsPanel>
这篇关于如何设置ListView流向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文