Duration: 17 minutes
Summary: In this video, we are continuing our discussion of Silverlight controls. Mainly, we will be talking about the tab control and the expander control. Both of these controls will save you space on the page. We can divide the information we are collecting from the user into logical sections and put every section in a tab. We can add tabs to the tab control either programmatically or in the dialog using the Items collection. In our example we created three tabs and we saw how we can put a stack panel in every tab and add controls to the stack panel.
The second control is the Expander control. This control has a header and a button that we can click to hide and show the information. By default (when dropping an Expander on the page) we have a grid as a sub control. But you can change that to other container control. In our case, we changed that to a stack panel and listed some text blocks.
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, Header, TabControl, TabItem, StackPanel, RadioButton, checkbox, Expander, TextBlock, Grid.