I have 8 ComboBoxes in a Grid. Each ComboBox should trigger my SelectionChangedCommand (binded with Interaction.Triggers). Now I don't want to bind to every ComboBox the same Command. How Can I bubble the Event in the Tree?
Below is my CommandBinding. I don't want to do this 7 times more.
Thanks
<ComboBox Grid.Row="4" Grid.Column="4" IsEditable="False" Margin="10"
ItemsSource="{Binding Source={x:Type sharedEnums:AxisNames}, Converter={StaticResource EnumToArrayConverter}}"
SelectedValue="{Binding Path=TeachAxis[7].AxisName}" Style="{StaticResource ComboBoxStyle}" >
<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
<i:InvokeCommandAction Command="{Binding SelectionChangedCommand}"/>
</i:EventTrigger>
</i:Interaction.Triggers>
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Converter={StaticResource EnumToDisplayTextConverter}}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>