Is there a way to determine the size and position of the visible area of a control in Silverlight, when the control is somewhere in a scroll viewer?
I have a control that is inside a grid at some Row and Column. The grid is inside a scroll viewer. The scroll viewer has fixed width and height. The grid's width and height are greater that those of the scroll viewer. At some point my control is only partially visible because of the scrolling.
I have a rectangle in a popup that I need to place above my control, when the mouse is over it. I need to make the rectangle size to be exactly as the visible part of my control.
How can I do that?
Thanks.