I am making a phone application in Silverlight, Windows Mobile.
I am able to change the location of a button, or a label etc. That’s fine and all good.
However, does anyone know how I can change the actual axis, as in, rotation. For example: | in to __ ?
Let’s say that: | …. is a button or something. I can move it around the screen with ease.
But how do I make it from | and change the rotation to __ ?
You can use RotateTransform in your XAML or as a method in the code-behind.
This is the example that is listed on the linked page:
Hope this helps
Edit: Code behind example doing exactly the same thing as XAML: