I would like to create an ImagePicker control that lets users pick an image from a variety of sources.
A picture is worth a thousand words: I'm not yet cool enough to post images
<ComboBox>
<local:GoogleImage/>
<local:GoogleImage/>
<local:GoogleImage/>
<local:BingImage/>
<local:BingImage/>
</ComboBox>
Basically, I want a TabControl in the drop-down list of a ComboBox. All items of type GoogleImage should be displayed in the Google Images tab, BingImage items in the Bing Images tab and so on.
I tried to put my TabControl in ComboBox.ItemsPanelTemplate but WPF wouldn't let me because TabControl is not a panel.
I had some success editing the ComboBox template and putting my TabControl in the Popup but I don't know how to implement the second part of my requirements.