In XAML I have a ScrollView and a ListView inside.
<ScrollViewer Margin="0, 0, 0, 2" HorizontalScrollBarVisibility="Visible">
<ListView BorderBrush="Red" BorderThickness="3" Name="listAnswers">
...
/>
So, when I remove the HorizontalScrollBarVisibility tag,
my border is unmovable while scrolling, but if I set HorizontalScrollBarVisibility
to “Auto” or “Visible” vertical Red border moves out and disappears.
How to enable scrollbar and set its border unmovable?
Pictures:
alt text http://www.freeimagehosting.net/uploads/f2446d54ab.jpg
alt text http://www.freeimagehosting.net/uploads/a5bfe72b5e.jpg
You can use padding instead of border: