Exception:“Quicker.View.Controls.IconControl”不是“FrameworkElementFactory.SetValue”的有效值;不支持从 Visual 或 ContentElement 派生的值。

报错信息 1
NotSupportedException: “Quicker.View.Controls.IconControl”不是“FrameworkElementFactory.SetValue”的有效值;不支持从 Visual 或 ContentElement 派生的值。
StackTrace:
   在 System.Windows.FrameworkElementFactory.SetValue(DependencyProperty dp, Object value)
   在 DynamicClass.cc.<初始化>d__f0.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 DynamicClass.a.<OnWindowCreated>d__2.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.43.57 2025-08-24 04:28 Microsoft Windows NT 10.0.22631.0