Hello,
TextBlock tbl = new TextBlock();
If I set
RotateTransform rotateTransform = new RotateTransform();
tbl.RenderTransform = rotateTransform;
I can rotate the TextBlock
If I set
TranslateTransform moveTransform = new TranslateTransform();
tbl.RenderTransform = moveTransform;
I can move TextBlock using mouse (here is more code needed).
But what if I want to have possibility to rotate object and move it using mouse in the same time?
Note: I must do it in code behind.