Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The "visible area" of a control?

I have a Canvas within a ScrollViewer. The Canvas have a size of 600x600 and the ScrollViewer 400x400. If i scroll to the right side, i can't see 200pxl left side of the Canvas. Therefore my area of Canvas begins at x=200 but actually the visible area at x=0. Is there any way to get so "visile area" of a control by a property or something like that ?

Regards Gepro

like image 418
Gepro Avatar asked Dec 14 '09 09:12

Gepro


Video Answer


1 Answers

What are you looking for?

Choose the one from the list below:

  • ContentVerticalOffset
  • ContentHorizontalOffset
  • ViewportWidth
  • ViewportHeight
like image 103
Anvaka Avatar answered Sep 24 '22 03:09

Anvaka