ArgumentNullException: 值不能为 null。 参数名: primary StackTrace: 在 System.ComponentModel.TypeDescriptor.GetAssociation(Type type, Object primary) 在 MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor.FromObj(Object value) 在 MS.Internal.ComponentModel.DependencyObjectPropertyDescriptor.RemoveValueChanged(Object component, EventHandler handler) 在 DynamicClass.cc.<>c__DisplayClass191.<<初始化>b__eb>d__223.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)