首页 > 其他 > 详细

将ListBox条目水平排列

时间:2014-02-26 12:54:55      阅读:308      评论:0      收藏:0      [点我收藏+]
bubuko.com,布布扣
    <Grid Margin="6">
        <ListBox>
            <!--ItemsPanel-->
            <ListBox.ItemsPanel>
                <ItemsPanelTemplate>
                    <StackPanel Orientation="Horizontal"></StackPanel>
                </ItemsPanelTemplate>
            </ListBox.ItemsPanel>
            <TextBlock Text="Allan"/>
            <TextBlock Text="Kevin"/>
            <TextBlock Text="Drew"/>
            <TextBlock Text="Timothy"/>
        </ListBox>
    </Grid>
bubuko.com,布布扣

bubuko.com,布布扣

将ListBox条目水平排列

原文:http://www.cnblogs.com/chenyongblog/p/3567606.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!