Title: Grid container: Collection of UIElement objects - Course Silverlight 3 - Lesson 4
Duration: 16 minutes
Summary: In this video, we continue our discussion on layouts by experimenting with the Grid container. A Grid contains a collection of UIElement objects, which are in the Children property. In a Grid, we define our columns and rows, and place our elements inside them. To show off the Grid features, we create a Grid that contains two columns and three rows. We add elements (TextBoxes, TextBlocks, and DatePicker) to ask the user for name and date of birth. When the user selects the date, his/her information will be displayed in the TextBlock below the Grid.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Silverlight 3 and Visual Studio 2010.
Keywords: Silverlight 3, XAML, Grid, Canvas, TextBlock, TextBox, Button, ColumnDefinition, RowDefinition, DatePicker, StackPanel, Orientation.