Duration: 17 minutes
Summary: In this video, we continue the Silverlight 5 discussion. We need to elaborate on container controls. We know that container controls include other controls. We use these container controls to create a more complex UI. Example of container controls include: StackPanel and WrapPanel. In this video we will explore StackPanel. As the name implies, a StackPanel will stack its controls one on top of the other either vertically or horizontally. This is done using the Orientation property. To illustrate, we will create a StackPanel that contains a button, checkbox, combobox, and a text block. We change the orientation of the StackPanel to see the impact on the design. Then we will experiment with nesting container controls (placing one container control inside another). To do that we will add a border to the original StackPanel. Inside the border, we will add another StackPanel with buttons. In this case though, we will change the alignment, margin and minimum width of the controls to see how they will look like.
Methodology of the development of example: Good coding standard and simplified design to illustrate the key points.
Technology Used: Silverlight 5 and Visual Studio 2010
Keyword: Silverlight 5, Visual Studio 2010, XAML, Border, StackPanel, Button, ComboBox, Content, HorizontalAlignment, VerticalAlignment, MinWidth, Margin, Orientation, BorderBrush, BorderThickness, ComboBox, ComboBoxItem.








See the prices for this post in Mr.Bool Credits System below: