ITransformProvider.Rotate Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Rotates the control.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- degrees
- Type: System.Double
The number of degrees to rotate the control. A positive number rotates the control clockwise. A negative number rotates the control counterclockwise.
An object cannot be moved, resized, or rotated in such a way that its resulting screen location would be completely outside the coordinates of its container, and therefore would be inaccessible to the keyboard or the mouse. For example, this would occur if a top-level window were moved completely off-screen, or if a child object were moved outside the boundaries of the container's viewport. In these cases, the object is placed as close to the requested screen coordinates as possible, and the top or left coordinates are overridden to be within the container boundaries.
Consider raising InvalidOperationException if the CanRotate property is false.