Exception:“0”不是属性“FontSize”的有效值。

报错信息 1
ArgumentException: “0”不是属性“FontSize”的有效值。
--Message: “0”不是属性“FontSize”的有效值。
StackTrace:
   在 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   在 System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   在 DynamicClass.CreateAppButton(String rawData, Int32 index, Double size, Window win, IDictionary`2 dc, Boolean isInsideFolder, String currentCat)
   在 DynamicClass.RenderApps(Window win, IDictionary`2 dc)
   在 DynamicClass.<>c__DisplayClass1f7.<OnWindowLoaded>b__1e5()
   在 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.45.0 2026-05-01 01:54 Microsoft Windows NT 10.0.26220.0