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

Non-virtualized ListBox

1 Answer 222 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 30 Mar 2015, 06:59 PM
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.

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 02 Apr 2015, 09:11 AM
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.

 
Tags
ListBox
Asked by
David
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or