Edit this page

Rotation

RadDiagram gives you the ability to rotate shapes by dragging their Rotation Thumb or by changing their RotationAngle property.

Please note that the examples in this tutorial are showcasing Telerik Windows8 theme. The Setting a Theme article describes how to set the theme as an application theme.

Enable/Disable Rotation

By default the RadDiagram is enabled for rotation manipulation. In order to disable this functionality, you can set IsRotationEnabled to False

<telerik:RadDiagram IsRotationEnabled="False">
    <telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=CloudShape}" Position="100 80" />
</telerik:RadDiagram>       

Rad Diagrams-Featires-Rotation-Disabled

Rotation Angle

You can rotate shapes by using their RotationAngle property:

<telerik:RadDiagram>
    <telerik:RadDiagramShape Geometry="{telerik:CommonShape ShapeType=CloudShape}"
                            RotationAngle="45"
                            Position="200 200"
                            x:Name="shape"/>
</telerik:RadDiagram>       

Rad Diagrams-Features-Rotation

See Also

Was this article helpful? Yes No

Give article feedback

Tell us how we can improve this article

Dummy