Exception:值不能为 null。 参数名: primary

报错信息 1
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)

版本:1.44.23 2025-09-15 18:54 Microsoft Windows NT 10.0.22621.0