<ComboBox Name="PrinterSelection_ComboBox" Height="43" SelectedIndex="0" Margin="435,250,450,357" Width="200" SelectionChanged="PrinterSelection_ComboBox_SelectionChanged" ItemsSource="{Binding PrinterList}"> <ComboBox.ItemTemplate> <DataTemplate> <WrapPanel Margin="0,5,0,5" Height="45"> <Image x:Name="PrinterImage" Source="{Binding ComboBoxItemImage}" Height="20" Stretch="Fill" HorizontalAlignment="Left" VerticalAlignment="Center"/> <Label x:Name="PrinterName" Content="{Binding ComboBoxItemName}" TextBlock.TextAlignment="Center" VerticalAlignment="Center"/> </WrapPanel> </DataTemplate> </ComboBox.ItemTemplate> </ComboBox>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)