【wpf】listbox竖直排列如何转成横向排列

 

<ListBox>
    <ListBox.ItemsPanel>
        <ItemsPanelTemplate>
            <StackPanel Orientation="Horizontal"/>
        </ItemsPanelTemplate>
    </ListBox.ItemsPanel>
</ListBox>

 

posted @   春天花会开,  阅读(103)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示