I am using a ScrollViewer which is inside a Grid control and its alignment is center to screen . There is a web browser control inside the Scrolllviewer and the height and width vary based on size of web page. If height is too big scrollviewer scroller will appear Rough xaml is like this
<Grid>
<ScrollViewer HAlign="Center" RAlign="Center">
<Browser/>
</ScrollViewer/>
</Grid>
Now i need a button with position always left to scrollviewer and another button which always be right to scrollviewer and vertically center to the screen
if i place button inside scrollviewer what will happen is if the height of browser is too long , button will also goes down .
A sample layout can be look like it