<ComboBox Grid.Row="1" Margin="0,0,0,175" DataContext="{Binding }" />
I've set the DataContext
of the xaml to a class.
Within in this I have a class called Player
. A Player has a property array of another object called Quests
. Each Quest
has a name
property.
How can I bind the content of the combobox to the Quest
array, and have each item represented by its name
property?
I'm assuming I will have to use binding