ItemsPanel

4 posts, 1 answers
  1. Dimitris
    Dimitris avatar
    7 posts
    Member since:
    Aug 2013

    Posted 25 Aug 2013 Link to this post

    <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 ?
  2. Answer
    Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 26 Aug 2013 Link to this post

    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.
  3. DevCraft banner
  4. Dimitris
    Dimitris avatar
    7 posts
    Member since:
    Aug 2013

    Posted 26 Aug 2013 Link to this post

    Thank you very much for your answer. I'll check it out and post again if something is not working properly.

    best regards.
  5. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 26 Aug 2013 Link to this post

    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.
Back to Top
DevCraft banner