When we have a lot of items in list box/combo box, it is difficult to scroll through and find the items. Now Silverlight 5 provides type-ahead search for both combo box and list box. As you type the items in list box/combo box, scroll will proceed to the items that starts with search text.
<ListBox x:Name="lstItems" Grid.Row="0"> <ListBoxItem>Australia</ListBoxItem> <ListBoxItem>India</ListBoxItem> <ListBoxItem>Iran</ListBoxItem> <ListBoxItem>Switzerland</ListBoxItem> <ListBoxItem>Italy</ListBoxItem> <ListBoxItem>Germany</ListBoxItem> </ListBox>
When we run the application, when we type “It” in list box, we can see “Italy” in focus and automatically selected. This behavior will apply for combo box also.