This is a migrated thread and some comments may be shown as answers.

Change Flow of the list

1 Answer 13 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Manfred
Top achievements
Rank 2
Manfred asked on 14 Mar 2014, 07:54 AM
Hi there,

just one question:
is it possible, to change the flow of the list?
My List at the moment looks like screenshot one and I want to see it like image two.
The Items of the ListBox are created with an ItemTemplateSelector from a list in a list, the complete item shown in the images are also items of a listbox, so i have a listbox in a listboxitem :)


Is this possible with the RadListBox or which Control can provide this behaviour?


Best Regards
Manfred

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 17 Mar 2014, 01:34 PM
Hi Manfred,

You could easily achieve the desired scenario by setting different ItemsPanel of the ListBox. For example you could use RadWrapPanel as shown below:

<telerik:RadListBox ItemsSource="{Binding ItemsSource}">
    <telerik:RadListBox.ItemsPanel>
        <ItemsPanelTemplate>
            <telerik:RadWrapPanel Orientation="Horizontal" />
        </ItemsPanelTemplate>
    </telerik:RadListBox.ItemsPanel>
</telerik:RadListBox>

Hope this helps.

Regards,
Kalin
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
ListBox
Asked by
Manfred
Top achievements
Rank 2
Answers by
Kalin
Telerik team
Share this question
or