How to add a separator to a WPF combobox that is databound?

binding, c#, combobox, separator, wpf

Solution

Check this solution. It uses a `Style` to change the `Template` of certain `ComboBoxItem` objects

Problem

Is there any way I can add a seprator into a WPF combobox that is databound? ie in my xaml, the combobox's ItemsSource="{Binding TheList}". The list is an observable collection of objects, one of i want separated from the rest. This list is also generated from sql, so its not hard-coded or anything. I wouldn't want the seaprator to be selectable, either. Thanks!

Original source