这个XAMLParseException快把我逼疯了!以下是例外情况:
System.Windows.Markup.XamlParseException was unhandled Message=Cannot create instance of 'PresentationFramework LineNumber=1 LinePosition=9 StackTrace: at System.Windows.Markup.XamlParseException.ThrowExceptioncurrent
if (property == null) throw new XamlParseException($"Cannot find a property named \"{Name}\" in the type {underlyingType}");难道没有一个等价的方法,但是更易读和更紧凑的
ThrowIfNull<XamlParseException>(message