I have a textblock placed at the point 250, 250 (X: 250, Y: 250). Using a dot as reference, I can see that the textblock is placed at the origin 0,0 (of the textblock). Is there anyway to change the origin to, say, the center of the textbox, or the lower right hand corner?
Share
I found that RenderTransformOrigin() works quite well, especially if you need to change the origin because of a transform.
textBlock.RenderTransformOrigin = new Point(0.5, 0.5);will specify the origin in the middle .From MSDN: