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!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…