Hi
How to set the orientation of the List box in Silverlight i.e how to display the datas horizantally
Thanks in advance
Hi
How to set the orientation of the List box in Silverlight i.e how to display the datas horizantally
Thanks in advance
Modify the ItemsPanel of the ListBox and set it to a StackPanel that's oriented Horizontally:
<ListBox>
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>