All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi
How can I put elements in a RadListBox side by side instead of one above other
Thank you
Luigi
I found by myself looking at first look sample of ListBox in Wpf Control Examples.
<t:RadListBox ItemsPanel="{DynamicResource RadListBoxItemsPanel}" ItemContainerStyle="{DynamicResource HorizontalItemsStyle}" Style="{DynamicResource CustomRadListBox}" ItemsSource="{Binding Reports}"> <t:RadListBox.ItemTemplate> <DataTemplate> <local:AnalisiLivelliAmbientaliControl/> </DataTemplate> </t:RadListBox.ItemTemplate> <t:RadListBox.Resources> <ItemsPanelTemplate x:Key="RadListBoxItemsPanel"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Stretch"/> </ItemsPanelTemplate> </t:RadListBox.Resources> </t:RadListBox>
I found by myself looking at first look sample of ListBox in Wpf Control Examples.
<t:RadListBox ItemsPanel="{DynamicResource RadListBoxItemsPanel}" ItemContainerStyle="{DynamicResource HorizontalItemsStyle}" Style="{DynamicResource CustomRadListBox}" ItemsSource="{Binding Reports}"> <t:RadListBox.ItemTemplate> <DataTemplate> <local:AnalisiLivelliAmbientaliControl/> </DataTemplate> </t:RadListBox.ItemTemplate> <t:RadListBox.Resources> <ItemsPanelTemplate x:Key="RadListBoxItemsPanel"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Stretch"/> </ItemsPanelTemplate> </t:RadListBox.Resources> </t:RadListBox>