I am newbie to WPF, and needs help to bind data into the ComboBox. The xaml file contains the tag below.
Instead of DataContext={Binding}
you should have ItemsSource={Binding}
.
The data context for any frameworkelement in the visual tree is by default {Binding}
.
Also for the combobox to display text of the items correctly I suppose you need DisplayMemberPath
too. I assumed the property from Inbox
class that you need to display is Name
. Please replace with your relevant property name.