I've found the code to override the template selection:DataTemplateSelector
But the collapsed state of the combobox is not working.Here is the XAML:
Here are the templates:
Here is the template selector class:
But when the window initializes and it tries to load the
ComboBox, the "container" is null.
So it's trying to assign the collapsed template, but for some reason the container is null. Any ideas? I've narrowed it down to the RadComboBox. If I replace it with the base ComboBox control it works fine.
I've attached the screen shots for the collapsed/expanded and the debugger.