I’ve figured out how to assign a rotation value (element.RenderTransform = new RotateTransform(x)), but how do I get the rotation value of the element?
For example, if I wanted to make one ui element have the same rotation angle as another ui element, how would I do that?
You can get the rotation value by doing:
If you want to just make another UIelement rotate in the same way, you can just assign the same transform: