Duration: 18 minutes
Summary: As part of the standard controls discussion, we will talk today about the ComboBox and Calendar controls. We will start with a simple ComboBox that we will populate through the dialog. It will be a ComboBox of colors. Then, we will create a more complex ComboBox that will contain a list of stack panels. Every stack panel will contain an image and a text block with the name of the image (similar to what we have done with the list box in the previous video). When the user selects an item from the ComboBox, the associated image will be drawn in the image box underneath. Finally, we will talk about the calendar control. We will discuss the properties and show one property in action. Using two check boxes, the user can select memorial day and/or independence day. When that item is checked, we mark it as a blackout date on the calendar.
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, Grid, Content, Text, StackPanel, Image, BitmapImage, Uri, UriKind, Children, Items, ComboBox, ComboBoxItem, CheckBox, Calendar, BackoutDates, UpdateLayout.