O'Reilly logo

WPF in Action with Visual Studio 2008 by Maxx Daymon, Arlen Feldman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. The Grid panel

This chapter covers:

  • The Grid layout
  • Localizing with the Grid
  • The UniformGrid
  • Turning your $2000 computer into a $5 pocket calculator

So far we’ve spent a lot of time talking about all the different layout controls available—except the one that you’re likely to use much of the time! The Grid panel control is the most powerful and, except for the Canvas which has no real rules, the most flexible. The Grid can be used to emulate the behavior of many of the other layout options, but it’s easier to use the more appropriate layout panel.

Aside from being the default layout used by Visual Studio, the Grid is a good layout for things like dialogs with a number of interactive controls (text boxes, radio buttons, and so on). ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required