这里是用户控件中的两个组合框:
<ComboBox Name="comboAmagat"
ItemsSource="{Binding Path=Screen.TotsElsElementsDeCosts, Mode=TwoWay}"
SelectedItem="{Binding Path=Value, Mode=TwoWay}"
></ComboBox>
<ComboBox Name="comboAmagat2"
ItemsSource="{Binding Path=Screen.TotsElsElementsDeCosts, Mode=TwoWay}"
SelectedItem="{Binding Path=Screen.TConversio_Aplicacions_ElementsDeCosts.SelectedItem.dimElementDeCost, Mode=TwoWay}" >
</ComboBox>
当屏幕显示时,组合没有所选的项目值。选定项目缺失,直到:
有什么问题?