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
Transformations.
1.Rotate Transformation
2.Skew Transformation
3.Scale Transformation

Example:
Open WPF project
Replace grid with Canvas tag
Type as follows with in the Canvas
<Button.Render.Tranformation>
<Rotate Transform Angle="45"/>
//Skew:
<skew Transform angle x="30" ,angle y="30"/>
//Scale :
<Scale Transform scale x="2" scale y="2"/>
Post a Comment

Bel