XamlParseException: 设置属性“System.Windows.Style.BasedOn”时引发了异常。 --LineNumber: 0 --LinePosition: 0 --BaseUri: pack://application:,,,/Quicker;component/app.xaml StackTrace: 在 System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri) 在 System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri) 在 System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri) 在 System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream) 在 Quicker.View.SharedActionInfoWindow.InitializeComponent() 在 Quicker.View.SharedActionInfoWindow..ctor(SharedActionDto sharedAction, ActionItem oldAction) 在 Quicker.Domain.Services.ActionEditMgr.<InstallAction>d__29.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 Quicker.Domain.Services.ActionEditMgr.<>c__DisplayClass63_0.XVl6pTLSLyu1HY1Qal4.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) InvalidCastException: 无法将类型为“Quicker.Utilities.UI.StringToVisibilityConverter”的对象强制转换为类型“System.Windows.Style”。 StackTrace: 在 System.Windows.Baml2006.WpfSharedBamlSchemaContext.<>c.<Create_BamlProperty_Style_BasedOn>b__296_0(Object target, Object value) 在 MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)