Chapter 4. Sizing, Positioning, and Transforming Elements

When building a WPF application, one of the first things you must do is arrange a bunch of controls on the application’s surface. This sizing and positioning of controls (and other elements) is called layout, and WPF contains a lot of infrastructure to provide a feature-rich layout system.

Layout in WPF boils down to interactions between parent elements and their child elements. Parents and their children work together to determine their final sizes and positions. Although parents ultimately tell their children where to render and how much space they get, they are more like collaborators than dictators; ...

Get WPF 4 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.