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

DataTemplate and ScrollViewer

0 Answers 9 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lauri
Top achievements
Rank 1
Lauri asked on 13 Aug 2012, 10:39 AM
Hi,
It would seem that standard Silverlight (4) ScrollViewer does not work when put inside DataTemplate. I see the ScrollViewer and it clearly displays that there is scrollable content, but when I try to scroll nothing happens. In this specific case, the DataTemplate is that of CoverFlow ItemTemplate.
I have also tried opposite approach, wrapping CoverFlow (and possible outer elements) inside ScrollViewer. This does not work either because ScrollViewer cannot deduce dimension of items inside DataTemplate. If I put CoverFlow inside fixed-sized container scrolling does work, but then I have empty space and content is in the middle despite I use VerticalContentAlignment="Top" wherever it is applicable.
Any hints appreciated.

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Lauri
Top achievements
Rank 1
Share this question
or