Forum Discussion

kvooturi's avatar
kvooturi
Occasional Contributor
14 years ago

Get the coordinates of a object in window - urgent

Please suggest a method to obtain the coordinates of a object(typeWPFdatagrid element) in a window.



The idea is to get the coordinates and use them in drag method.

1 Reply

  • Hi,



    Your object's Top and Left properties will give you its position. Height and Width will give you its size.