Is there a way to bind a value to the absolute position of a control using XAML?
I have a Line element that I would like to be drawn between two Buttons in my application. I was thinking that binding the starting point of the Line to the position of the Button would be the easiest way to make this happen, using RelativeSource somehow.
It seems you want something like this:
use this MyButton in your pages in place of Button,
Edit: if you want to draw line between two controls don't use above code sample but try this directly in your page:
Hope this helps!