WPF Bind User Control Coordinates

Posted by morsanu on Stack Overflow See other posts from Stack Overflow or by morsanu
Published on 2010-03-29T14:13:13Z Indexed on 2010/03/29 14:23 UTC
Read the original article Hit count: 368

Filed under:
|
|
|
|

Another beginner WPF question from me :)

Ok, so I have a User Control added to a Canvas. In another area of the application I have two TextBoxes that will get 2 values : X and Y. I need a two-way binding between the user control's top left corner coordinates and those 2 textboxes. I don't mind implementing a Converter or doing some calculations, but I need a push in the right direction from a more experienced WPF developer.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about canvas