Duration: 17 minutes
Summary: In this video, we continue the Silverlight 5 discussion of container controls. As we mentioned in the previous videos, container controls are controls that contain other controls within them. We can use container controls to create very complex UI (something that looks like windows applications). We can nest those controls for better flexibility. In this case, we will explore the WrapPanel. With this panel as you add controls, they will stay on the same row or column (depending on the orientation that we set) until that row or column is filled and there is no more space for the control. In that case we wrap to the next row or column and put the control there. We keep having this behavior until all the controls are laid out. When we load the application and try to change the size of the window, we notice that the controls are moved to the new row or column (again depending on the orientation). We will load the application out of browser to see that we have the same effect. In the next video, we will talk about the DockPanel and the Canvas.
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, Button, Content, MinWidth, Margin, Orientation, WrapPanel, Ellipse.