-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

MCTS: Microsoft Silverlight 4 Development (70-506) Certification Guide
By :

Displaying a collection of items can be considered as one of the highlights of using Silverlight. Silverlight contains many controls whose purpose is to display a list of items ranging from simple listboxes to a datagrid, which can be used to display an Excel-like representation of data. One of the most important aspects of displaying a collection of items is templating. With templating, we can change the way our items will render. The items of a collection can be either bound to the control or added manually through XAML or code. We will discuss the concept of binding later in this book, so don't be discouraged if you don't understand what it means right now. It's time to start exploring the items controls of Silverlight, and so we start with the ItemsControl
control.
ItemsControl
is the base class for the ListBox, ComboBox
, and TabControl
controls. Other than the usual properties, you might expect to find in a regular control that the ItemsControl...
Change the font size
Change margin width
Change background colour