Introduction: ListBox Control is like ComboBox - except that it shows all items into flat list.

We take a silverlight application and then take a ListBox Control and write the following XAML code

<Grid x:Name="LayoutRoot" Background="White">
<ListBox Height="110" HorizontalAlignment="Left" Margin="73,24,0,0" Name="ListBox1" VerticalAlignment="Top" Width="41">
<ListBoxItem Content="A" />
<ListBoxItem Content="B" />
<ListBoxItem Content="C" />
<ListBoxItem Content="D" />
</ListBox>
</
Grid>

When, We run our application, the output will be as below figure

ListBoxListBox