Exception:“NamedObject”参数类型对格式属性“Background”无效。 参数名: value

报错信息

ArgumentException: “NamedObject”参数类型对格式属性“Background”无效。
参数名: value
--Message: “NamedObject”参数类型对格式属性“Background”无效。
参数名: value
--ParamName: value
StackTrace:
   在 System.Windows.Documents.TextRange.ApplyPropertyValue(DependencyProperty formattingProperty, Object value, Boolean applyToParagraphs, PropertyValueAction propertyValueAction)
   在 DynamicClass.Program.<>c__DisplayClass3a.<Exec>b__23(Object s, RoutedEventArgs e)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   在 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 查看
22天18小时前
Quicker版本
版本 反馈次数
1.44.23 1