Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Expression Blend : Transformations – WPF Tutorial #9

with one comment

This transformation topic only covers the transformation in the view of Expression Blend. There are following simple transformation which you can get in any image manipulation software.

  • Reposition
  • Resize
  • Rotate
  • Skew
  • Flip

Now, how these transformation applies to the object is depend upon which category of transform you are using. Following is the transformation category:

  • RenderTransform   The transformation is applied after the layout pass is complete. Using the Selection tool to transform an object on the artboard modifies the RenderTransform properties.

    Using the RenderTransform properties is the ideal way to perform transformations on objects because of better application performance.

  • LayoutTransform   The transformation is applied in memory during layout, before the application is rendered on screen. Use the LayoutTransform properties when you need a parent element to adjust to the transformation applied to a child element.

Following example is taken for Adam Nathan’s book:

Transformation

This clears the understanding of RenderTransform and LayoutTransform easily. Thanks to Nathan for this.

Last point is cliptobounds property of the control. If that property is true, the control which you transform is clipped into the parents object.

Advertisements

Written by Manish

October 22, 2007 at 1:42 pm

Posted in .NET 3.0, WPF

One Response

Subscribe to comments with RSS.

  1. nice article

    UpdateStore

    February 22, 2008 at 3:59 pm


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: