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

ItemsPanel

3 Answers 45 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dimitris
Top achievements
Rank 1
Dimitris asked on 25 Aug 2013, 03:31 PM
<ListBox.ItemsPanel>
        <ItemsPanelTemplate>
               <toolkit:WrapPanel Orientation="Horizontal"/>
          </ItemsPanelTemplate>
                   </ListBox.ItemsPanel>
I'm using the above code to create an horizontal representation of my items in a listbox control.


any idea how I can reproduce this on databound listbox ?

3 Answers, 1 is accepted

Sort by
0
Accepted
Deyan
Telerik team
answered on 26 Aug 2013, 07:33 AM
Hi Dimitris,

Thanks for writing and for your question.

RadDataBoundListBox uses a slightly different approach to implement this feature. It is done by using the WrapVirtualizationStrategyDefinition and setting an instance of this class to the VirtualizationStrategyDefinition property exposed by RadDataBoundListBox:

<telerikPrimitives:RadDataBoundListBox x:Name="radDataBoundListBox">
    <telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>
         <telerikPrimitives:WrapVirtualizationStrategyDefinition Orientation="Horizontal"/>
    </telerikPrimitives:RadDataBoundListBox.VirtualizationStrategyDefinition>
</telerikPrimitives:RadDataBoundListBox>

You can read more about these features here:

http://www.telerik.com/help/windows-phone/raddataboundlistbox-features-virtualizationstrategies.html

I hope this helps.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Dimitris
Top achievements
Rank 1
answered on 26 Aug 2013, 08:20 AM
Thank you very much for your answer. I'll check it out and post again if something is not working properly.

best regards.
0
Deyan
Telerik team
answered on 26 Aug 2013, 08:27 AM
Hi Dimitris,

We will consider this thread closed for now.

Do not hesitate to reopen it in case of further questions.

Regards,
Deyan
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
DataBoundListBox
Asked by
Dimitris
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Dimitris
Top achievements
Rank 1
Share this question
or