Applying Multiple Transforms

You can apply multiple transformations by contextually implementing a TransformGroup as a nested node of RenderTransform. The following code demonstrates how you can both rotate and skew a visual element:

image

A Couple of Important Notes

Another transformation named MatrixTransform is also available and enables building custom transformations. This is quite a complex object and is beyond of the scope of this book. Visit the official MSDN page at http://msdn.microsoft.com/enus/library/system.windows.media.matrixtransform(VS.100).aspx.

Next, RenderTransform is not the only place for putting transformations. There is another ...

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.