December 2008
Intermediate to advanced
208 pages
4h 17m
English
Layout panels, such as Grids and Canvases, are the foundation of Silverlight and WPF applications. They act as containers for visual elements. By default, layout panels are adaptive in nature. For example, when you build an interface, the panel automatically adjusts to the size of the window.
Layout panels also allow you to apply transforms. This capability is useful when animating a group of visual elements, because the animation is applied to the layout panel and not to each individual element.
In this chapter, you’ll learn about the types of layout panels in Silverlight 2 and how to use them.
For more about transforms, see Chapter 3.
In Blend, the main layout ...