Hello,
- I have a Viewbox with a Canvas Child,
- I have the Stretch property of Viewbox to Fill,
- I have changed the width and height of the Viewbox,
I need to get the location of children in Canvas with respect to Viewbox parent I tried :
Point p = viewboxInstance.TranslatePoint(new Point(Canvas.GetLeft(child), Canvas.GetTop(child)), viewboxInstanceParent);
it gets wrong coordinates! Is there a solution or work around ?
Thanks