报错信息 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.45.5
2026-11-22 19:30
Microsoft Windows NT 10.0.26200.0
版本:1.45.5
2026-11-21 12:01
Microsoft Windows NT 10.0.19045.0
版本:1.42.32
2026-11-20 19:25
Microsoft Windows NT 10.0.26200.0
版本:1.44.55
2026-11-19 11:00
Microsoft Windows NT 10.0.26200.0
版本:1.43.29
2026-11-16 14:04
Microsoft Windows NT 10.0.26200.0
版本:1.44.22
2026-11-15 11:27
Microsoft Windows NT 10.0.26200.0
版本:1.43.19
2026-11-08 14:22
Microsoft Windows NT 10.0.26100.0
版本:1.44.31
2026-11-05 17:36
Microsoft Windows NT 10.0.26200.0
版本:1.45.5
2026-10-29 13:06
Microsoft Windows NT 10.0.26300.0
版本:1.44.31
2026-10-26 17:56
Microsoft Windows NT 10.0.26200.0
版本:1.44.13
2026-10-26 17:38
Microsoft Windows NT 10.0.26200.0
版本:1.44.31
2026-10-26 15:54
Microsoft Windows NT 10.0.26200.0
报错信息 2
ArgumentException
在 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.38.3
2026-11-02 14:13
Microsoft Windows NT 10.0.22000.0