2
我有一个可编辑的组合框,每当你点击它,lostFocus方法被调用。它在实际上失去焦点时也会被调用。
当点击组合框时,什么导致LostFocus运行?Combobox是可编辑的lostFocus调用时获得焦点
<ComboBox IsEditable="True" IsReadOnly="False"
Text="{Binding Model.Number}" ItemsSource="{Binding Item}"
SelectedItem="{Binding Model.Number}"
VerticalAlignment="Top">
<dxmvvm:Interaction.Behaviors>
<dxmvvm:EventToCommand EventName="LostFocus" Command="{Binding TeethLostFocusCommand}" />
</dxmvvm:Interaction.Behaviors>
</ComboBox>
那么,什么是问题? – Versatile