The Grid

The Grid is the most powerful layout container in Silverlight. In fact, the Grid is so useful that when you add a new XAML document for a page in Visual Studio, it automatically adds the Grid tags as the first-level container, nested inside the root UserControl element.

The Grid separates elements into an invisible grid of rows and columns. Although more than one element can be placed in a single cell (in which case they overlap), it generally makes sense to place just a single element per cell. Of course, that element may itself be another layout container that organizes its own group of contained controls.

images Tip  Although the Grid is ...

Get Pro Silverlight 5 in VB now with O’Reilly online learning.

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