Posted 23 Dec 2011 Link to this post
<
Setter
Property
=
"ItemsPanel"
>
Setter.Value
ItemsPanelTemplate
telerik:VirtualizingWrapPanel
ItemWidth
"195"
ItemHeight
"88"
IsItemsHost
"True"
/>
</
ListBox
ItemsSource
"{Binding}"
TextSearch.TextPath
"Name"
Name
"lstFiles"
HorizontalContentAlignment
"Left"
Padding
"3"
Background
"{x:Null}"
BorderBrush
SelectionMode
"Single"
Margin
"0,75,0,0"
ListBox.GroupStyle
GroupStyle
HeaderTemplate
"{StaticResource groupTemplate}"
Posted 27 Dec 2011 Link to this post
Please take a look at our demos for a reference. Furthermore, I am sending you the sample project I used for testing the issue you described. Could you take a look at it and let me know how it differs from your scenario ?
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Posted 29 Dec 2011 Link to this post
Posted 30 Dec 2011 Link to this post
I have tried to reproduce the issue, but unfortunately still without any success. Could you take a look at this small video illustrating my attempt ? Is there anything more specific that I need to do in order to get the same behavior as yours ?
Posted 04 Jan 2012 Link to this post
Posted 05 Jan 2012 Link to this post
I've checked your project and I've noticed that the panel is used in a grouped ListBox which will measure with infinity height and width in this case. You will not get scrollbars in case of infinity. The standard WPF WrapPanel will not even wrap in this case - our VirtualizingWrapPanel will wrap your items but still you will not get scrollbars.