Microsoft's ComboBox has the SelectedTemplate. Is there something similar for the XamComboEditor?I need to set a template for the selectedItem in the XamComboEditor/
Thanks!
Hi Fernando,
XamComboEditor does not have such a property. This however could be achieved by re-templating ComboEditorItemControl. You need to add new content presenter for the selected items and hide/show both ContentPresenters through a storyboard transiting between Selected/Unselected states.
Check out the attached sample.
P.S. I wasn't able to find such property on the Microsoft's ComboBox either.
Could this be done with a ItemTemplateSelector?, I'm asking because in our project we have a class that inherits from DataTemplateSelector so we can set two different templates.