WPF ComboBox数据绑定问题
如下XAML代码,运行时test_app_method数据可以更新成当前选定的,而test_app_class不行,有没有懂的?
<ComboBox x:Name="cmbAppEntry" ItemsSource="{Binding Test_Class}" Text="{Binding test_app_class}" HorizontalAlignment="Left" Margin="97,70,0,0" VerticalAlignment="Top" Width="225" >
<i:Interaction.Triggers>
<i:EventTrigger EventName="SelectionChanged">
<i:InvokeCommandAction Command="{Binding LoadAppMethodCommand}" CommandParameter="{Binding ElementName=cmbAppEntry,Path=SelectedItem}"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</ComboBox>
<ComboBox x:Name="cmbAppEntry_Copy" ItemsSource="{Binding Test_Method}" Text="{Binding test_app_method}" HorizontalAlignment="Left" Margin="97,101,0,0" VerticalAlignment="Top" Width="225"/>