Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Creating a Horizontal ListBox in Silverlight and Windows Phone

DZone's Guide to

Creating a Horizontal ListBox in Silverlight and Windows Phone

· Mobile Zone
Free Resource
Creating horizontal ListBox element is obviously a pretty easy thing to do, but anyway I have decided to post XAML for that.
<ListBox ScrollViewer.HorizontalScrollBarVisibility="Auto">
    <ListBox.ItemsPanel>
        <ItemsPanelTemplate>
            <StackPanel Orientation="Horizontal" />
        </ItemsPanelTemplate>
    </ListBox.ItemsPanel>
    <ListBox.ItemTemplate>
        <DataTemplate>
           <Your control... />
        </DataTemplate>
    </ListBox.ItemTemplate>
</ListBox>


Topics:

Published at DZone with permission of Jevgeni Tšaikin. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}