Is it generally possible to avoid moving some controls while Scrolling?
In particular is it possible to stick the first row (with lightblue background) in the following code example:
<Grid>
<ScrollViewer>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="20" />
<RowDefinition />
</Grid.RowDefinitions>
<Canvas Background="LightBlue" Grid.Row="0" />
<Grid Grid.Row="1" >
<Canvas Background="Beige" Width="100" Height="800" />
</Grid>
</Grid>
</ScrollViewer>
</Grid>
Maybe try something like this?
UPDATE:
So if you want Vertical ScrollBar to go all the way to the top you can create a style for the ScrollViewer, push the container Grid down a bit (20px), and highlight the top part with a Rectangle.
Hope this is what you wanna achieve…