Introducing Transformations
Transformations are special objects that modify the appearance of visual elements of type FrameworkElement
, applying interesting effects such as rotation or translation, keeping unchanged the visual element’s functional behavior. For example, with transformations you can rotate a ListBox
180 degrees, but it will still work as usual; only the layout changes. Transformations are important to understand if you intend to apply animations to visual elements. I cover animations in the next section. Keep in mind that when you apply animations, basically you animate transformation objects that affect visual elements. You apply transformations by adding a RenderTransform
node for your visual element at the XAML level. I explain ...
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.