Reputation: 8928
I have a Path within a Grid, this Path has a left margin which will move beyond the edges of the grid. For example the grid has size 600x600 and the path is a rectangle with size 200x200. The rectangle is positioned with a left margin of 500, then is half in and for the other half outside. In this case is properly displayed only the left half (the one inside the grid).
But now I decide to make a transformation of translation (TranslateTransform) of the rectangle to the left for a value of 300. So I expect that the rectangle is displayed with a left margin of 200, what actually happens, however, the problem is that it always displays the left half of the rectangle, as if the left part had been designed before the translation.
How can I change this behavior? Thank you.
Upvotes: 2
Views: 238