I like to use a grid to position some objects in WPF, because it cares about the position and stuff. In addition, however I also like to be able to draw accross the cells with a Canvas.
I figured out that this can be done by embedding the grid in a canvas. However in order to connect two elements, I need then the absolute position in pixels.. any ideas?
From stackoverflow
-
From code you can use the UIElement.TranslatePoint() method.
HTH, Kent
Nils : will try, thx so far
0 comments:
Post a Comment