I am trying to get a ScrollView for logical scrolling instead of physical. After reading online how to do this, most sources claim that the CanContentScroll property is set to False. However, when trying to do this, it seems that ScrollViewer does not have this property.
Here is my XAML code:
<ScrollViewer x:Name="TestScroll" CanContentScroll="True" HorizontalScrollBarVisibility="Disabled" HorizontalScrollMode="Disabled" Margin="66,215,1020,10" Grid.Row="1">
<StackPanel x:Name="TestPanel" Orientation="Vertical">
</StackPanel>
</ScrollViewer>
And the error (s) are thrown:
Error 1 The member "CanContentScroll" is not recognized or is not accessible.
Error 2 The property 'CanContentScroll' was not found in type 'ScrollViewer'
I am developing for Windows 8.1, creating a universal application. I feel like I'm missing something like a link or something incredibly simple, because wherever I looked, it just works.
Any help would be greatly appreciated.
source
share