I have this ScrollViewer, which I add elements to programically:
<ScrollViewer VerticalSnapPointsAlignment="Near"
VerticalSnapPointsType="Mandatory"
VerticalScrollMode="Enabled"
VerticalScrollBarVisibility="Hidden"
ZoomMode="Disabled"
Width="400"
Height="400"
x:Name="MainFeatureScrollViewer"
ViewChanging="ScrollViewer_ViewChanging">
<StackPanel x:Name="MainFeatureStackPanel" />
</ScrollViewer>
When I call ChangeView like below it returns false and nothing happens. Why wouldn't this be working?
bool result = this.MainFeatureScrollViewer.ChangeView(null, 400, null, true);