Non-virtualized ListBox

2 posts, 0 answers
  1. David
    David avatar
    7 posts
    Member since:
    Mar 2015

    Posted 30 Mar 2015 Link to this post

    Can the RadListBox operate in a non-virtualized mode.  For my use-case, I need it to not be virtualized, which it is by default.
  2. Nasko
    Admin
    Nasko avatar
    586 posts

    Posted 02 Apr 2015 Link to this post

    Hi David,

    In order to disable the virtualization of RadListBox you need to change the ItemsPanel of the control to StackPanel  as shown below:
    <telerik:RadListBox x:Name="radListBox" ItemsSource="{Binding Customers}">
        <telerik:RadListBox.ItemsPanel>
            <ItemsPanelTemplate>
                <StackPanel/>
            </ItemsPanelTemplate>
        </telerik:RadListBox.ItemsPanel>
    </telerik:RadListBox>

    Hopes this helps.

    Regards,
    Nasko
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top