Tuesday, June 25, 2013

Transformations in WPF

It will use to change the position of a control in particular angle is called Transformation.WPF supports three types of
1.Rotate Transformation
2.Skew Transformation
3.Scale Transformation

Open WPF project
Replace grid with Canvas tag
Type as follows with in the Canvas
<Rotate Transform Angle="45"/>
<skew Transform angle x="30" ,angle y="30"/>
//Scale :
<Scale Transform scale x="2" scale y="2"/>

No comments: