Aneesh
Aneesh

Reputation: 846

How to rotate a grid in WP7

In my WP7 application i want to rotate a grid with some degrees. Is it possible to rotate reversely when the page orientation is changed.Please help me.

Upvotes: 0

Views: 421

Answers (2)

aclap
aclap

Reputation: 404

you can also rotate it in the design area by clicking on the corner and the rotating once you get the bent arrow symbol.

Upvotes: 1

AbinZZ
AbinZZ

Reputation: 795

To rotate the grid

 <Grid RenderTransformOrigin="0.5,0.5" >
    <Grid.RenderTransform>
        <CompositeTransform Rotation="180"/>
    </Grid.RenderTransform>
 </Grid>

Upvotes: 2

Related Questions