You can easily customize the ListBoxItem, by adding additional UI controls to it. Consider the following XAML code snippet, where we have added a ListBox, which has four ListBoxItem:
<ListBox Width="150" Margin="20 10 10 10"> <ListBoxItem> <StackPanel Orientation="Horizontal"> <Rectangle Width="10" Height="10" Fill="Red" Margin="0 0 8 0" /> <TextBlock Text="Red (#FFFF0000)" /> </StackPanel> </ListBoxItem> <ListBoxItem IsSelected="True"> <StackPanel Orientation="Horizontal"> <Rectangle Width="10" Height="10" Fill="Green" Margin="...