I have a ComboBox with fairly complex template for individual items, which includes two images and several lines of text:

However, the selected item in the ComboBox itself doesn’t display correctly, because the vertical space is too limited (I can’t make it higher, because it is a part of a ToolBar).
How can I make the ComboBox use a different template for the item which is displayed in the ComboBox itself? (the default ToString representation would do just fine)
Thanks!
The selected item (in the
ComboBoxitself, not the dropdown) is not inside aComboBoxItemso you can do something like this:(Edit: Note that the binding in the for the selection box will throw errors because the
RelativeSourceis not found. There are various options of circumventing this, one being a custom value converter that returnstrueorfalsedepending on whether the ancestor exists (manual tree walking).)