wpf debug error output System.WIndows.Data Error 25

You can´t set both DisplayMemberPath and ItemTemplate at the same time.

DisplayMemberPath is used to tell the ItemsControl which property to display when showing your objects. It makes no sense to set this field if you're already passing a custom ItemTemplate, since you can choose how to show the object within that ItemTemplate.

Since the default Combobox style from MSDN also sets an ItemTemplate, this is likely the cause of the error.


resolved: use the TextSearch attached property, no matter if TextSearch is enabled!

TextSearch.TextPath="Name"