---
title: "ListView in Windows Phone 8.1 Wobbles while scrolling though long list (XAML)"  
description: "ListView in Windows Phone 8.1 Wobbles while scrolling though long list (XAML)"  
author: "Anonymous User"  
published: 2015-04-24  
updated: 2015-04-24  
canonical: https://www.mindstick.com/forum/23132/listview-in-windows-phone-8-1-wobbles-while-scrolling-though-long-list-xaml  
category: "windows phone"  
tags: ["windows phone"]  
reading_time: 2 minutes  

---

# ListView in Windows Phone 8.1 Wobbles while scrolling though long list (XAML)

I'm having [issues](https://www.mindstick.com/articles/12944/mattresses-for-kids-and-mothers-should-meet-certain-criteria-issues-you-should-consider) with scrolling through ListViews in my [Windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) Phone 8.1 App. Short lists scroll just fine, scrolling smoothly however as soon Virtualization kicks in the entire [ListView](https://www.mindstick.com/articles/12744/listview-in-android) "wobbles" to the left slightly, but noticeable enough to be annoying.\
I've tried [remove](https://yourviews.mindstick.com/story/4554/8-harmful-weeds-to-remove-from-garden) all the transitions to no [effect](https://yourviews.mindstick.com/view/81363/coronavirus-effect-on-american-farms-is-severe) [as well as](https://www.mindstick.com/interview/2481/can-you-write-a-java-class-that-could-be-used-both-as-an-applet-as-well-as-an-application) having items load incrementally to no success. Setting the item panel to a StackPanel (removing virtualization) fixes the issue but is not preferable.\
My listviews are [binding](https://www.mindstick.com/blog/146/dynamic-binding-in-c-sharp) to a [property](https://www.mindstick.com/blog/205/property-notification-in-c-sharp) in the DefaultViewModel that comes with the Basic Page Template.\
What am I [doing wrong](https://answers.mindstick.com/qa/36736/what-are-indians-doing-wrong-on-whatsapp) and what are causing my ListViews to exhibit this [behavior](https://www.mindstick.com/forum/159354/runtimeexception-and-exception-behavior)?\
XAML:

```
<ListView x:Name="searchResultsList" IsItemClickEnabled="True" ItemClick="ListView_ItemClick" ItemsSource="{Binding searchResults}">   <ListView.ItemContainerStyle>      <Style TargetType="ListViewItem">          <Setter Property="HorizontalContentAlignment" Value="Stretch"/>          <Setter Property="Margin" Value="0,0,0,20" />      </Style>   </ListView.ItemContainerStyle>   <ListView.ItemTemplate>      <DataTemplate>          <Grid>             <Grid.ColumnDefinitions>                <ColumnDefinition Width="80" />                <ColumnDefinition Width="10" />                <ColumnDefinition Width="*" />             </Grid.ColumnDefinitions>             <Border Width="80" Height="80">                <Image Source="{Binding Image}" />             </Border>             <StackPanel Grid.Column="2">                <TextBlock Text="{Binding PodcastTitle}" TextWrapping="WrapWholeWords" FontSize="{StaticResource TextStyleExtraLargeFontSize}" />                <TextBlock Text="{Binding LastUpdated, Converter={StaticResource dateConverter}}" Style="{ThemeResource ListViewItemSubheaderTextBlockStyle}" />                <TextBlock Text="{Binding PodcastArtist}" TextWrapping="WrapWholeWords" Style="{ThemeResource ListViewItemContentTextBlockStyle}" />             </StackPanel>           </Grid>       </DataTemplate>   </ListView.ItemTemplate> </ListView>
```

\

## Replies

### Reply by Anonymous User

So this seems to be an OS issue,the issue does indeed lie in virtualization, with items that have no fixed width. Using star as the width or making the horizontal alignment stretch won't work so the only solution that takes account orientation and resolution was to bind the width to the ListView's container's ActualWidth property:

```
<Grid x:name="contentRoot" Margin="19,9.5,19,0"><ListView> <ListView.ItemTemplate>   <DataTemplate>     <Grid Width={Binding ActualWidth, ElementName=contentRoot} />   </DataTemplate> </ListView.ItemTemplate></ListView></Grid>
```


---

Original Source: https://www.mindstick.com/forum/23132/listview-in-windows-phone-8-1-wobbles-while-scrolling-though-long-list-xaml

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
