'System.Reflection.TargetInvocationException' occurred in PresentationFramework.dll

后端 未结 5 668
时光取名叫无心
时光取名叫无心 2021-02-03 21:03

Okay, I have a bit of a weird bug...

This works fine:

private void radioButtonNormalPoint_Checked(object sender, RoutedEventArgs e)
{
   //comboBoxNormal         


        
5条回答
  •  一个人的身影
    2021-02-03 21:28

    I think you will have fewer problems if you declared a Property that implements INotifyPropertyChanged, then databind IsChecked, SelectedIndex(using IValueConverter) and Fill(using IValueConverter) to it instead of using the Checked Event to toggle SelectedIndex and Fill.

提交回复
热议问题