How to add a ScrollViewer to an ItemsControl in a Windows 8 Store App

I've been working on my first Windows 8 Store App this evening and coming from a WPF rather than Silverlight background have already found a few little differences in the XAML GUI implementation.

Simply wrapping an ItemsControl in a ScrollViewer to provide scrolling functionality for your content as I would in WPF results in some not very nice behaviour in a Windows Store App ItemsControl.

Instead, you need to provide a ScrollViewer as part of your ItemsControl.Template as follows.

Share this: