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

报错信息 1
ArgumentException: “0”不是属性“FontSize”的有效值。
--Message: “0”不是属性“FontSize”的有效值。
StackTrace:
   在 System.Windows.DependencyObject.ProcessCoerceValue(DependencyProperty dp, PropertyMetadata metadata, EntryIndex& entryIndex, Int32& targetIndex, EffectiveValueEntry& newEntry, EffectiveValueEntry& oldEntry, Object& oldValue, Object baseValue, Object controlValue, CoerceValueCallback coerceValueCallback, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, Boolean skipBaseValueChecks)
   在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   在 System.Windows.DependencyObject.CoerceValue(DependencyProperty dp)
   在 System.Windows.SystemResources.InvalidateTreeResources(Object args)
   在 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.42.24 2026-04-29 21:20 Microsoft Windows NT 10.0.26220.0
版本:1.44.55 2026-04-26 21:48 Microsoft Windows NT 10.0.26200.0
版本:1.44.31 2026-04-24 15:27 Microsoft Windows NT 10.0.26200.0
版本:1.44.22 2026-04-23 16:23 Microsoft Windows NT 10.0.26100.0
版本:1.44.22 2026-04-22 12:20 Microsoft Windows NT 10.0.22631.0
版本:1.44.22 2026-04-17 10:43 Microsoft Windows NT 10.0.22621.0
版本:1.43.29 2026-04-14 20:32 Microsoft Windows NT 10.0.26200.0
版本:1.44.31 2026-04-08 21:21 Microsoft Windows NT 10.0.26200.0
版本:1.44.22 2026-04-08 14:35 Microsoft Windows NT 10.0.26100.0
版本:1.44.55 2026-04-05 14:41 Microsoft Windows NT 10.0.26200.0
版本:1.44.22 2026-04-03 14:39 Microsoft Windows NT 10.0.26200.0
版本:1.45.0 2026-04-02 21:01 Microsoft Windows NT 10.0.26200.0
版本:1.44.22 2026-04-02 16:00 Microsoft Windows NT 10.0.26200.0
报错信息 2
ArgumentException: “0”不是属性“FontSize”的有效值。
--Message: “0”不是属性“FontSize”的有效值。
StackTrace:
   在 System.Windows.DependencyObject.ProcessCoerceValue(DependencyProperty dp, PropertyMetadata metadata, EntryIndex& entryIndex, Int32& targetIndex, EffectiveValueEntry& newEntry, EffectiveValueEntry& oldEntry, Object& oldValue, Object baseValue, Object controlValue, CoerceValueCallback coerceValueCallback, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, Boolean skipBaseValueChecks)
   在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   在 System.Windows.DependencyObject.CoerceValue(DependencyProperty dp)
   在 System.Windows.FrameworkElement.OnPresentationSourceChanged(Boolean attached)
   在 System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)
   在 System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)
   在 System.Windows.Window.SetRootVisual()
   在 System.Windows.Window.SetRootVisualAndUpdateSTC()
   在 System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)
   在 System.Windows.Window.CreateSourceWindow(Boolean duringShow)
   在 System.Windows.Window.ShowHelper(Object booleanBox)
   在 System.Windows.Window.ShowDialog()
   在 Quicker.App.<>c__DisplayClass28_0.aZ5PEawI4CK()
   在 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.22 2026-04-27 18:32 Microsoft Windows NT 10.0.26200.0
版本:1.44.22 2026-04-17 10:43 Microsoft Windows NT 10.0.22621.0