I have one Listbox and applied one DataTemplate like this
<ListBox>
<ListBox.ItemTemplate>
<Grid>
<TextBlock Text="{Binding Path=Name}" Grid.Row=0/>
<ComoboBox Name="test"
DisplayMemberPath="Country"
SelectedValuePath="Country_ID">
</Grid>
- How will I load
ItemSourceto thisComboBoxdynamically based on each item selected in theListBox? Iam new to WPF… pls help with your valuable suggestions.
Now your combocbox is always have the same itemssource as the parent listbox.