将按钮拖放到我的 WPF 表单上是错误的,我也尝试为按钮输入 xaml(同样的错误)
它弹出错误“MS.Internal.Validated+Validation Failure”被抛出
然后弹出屏幕变白并显示:
Exception of type 'MS.Internal.Validate+ValidationFailure' was thrown.
at MS.Internal.Validate.Retail(Boolean value)
at MS.Internal.Design.DocumentModel.DocumentTreeManagers.ItemUpdater.ApplyDelta(INodeHost
nodeHost, DeltaItemCollection delta, ModifiableDocumentTree root, DocumentNodeDictionary
oldTable, Boolean updateTable, DocumentNodeDictionary deletedItems, Comparison`1 compare)
at Microsoft.Windows.Design.DocumentModel.Trees.DocumentTreeManager.ApplyDelta(Delta delta,
Comparison`1 compare)
at Microsoft.Windows.Design.Platform.ViewProducerBase.ApplyUpdate(Delta delta)
at Microsoft.Windows.Design.Platform.ViewProducerBase.IncrementalRebuild(DocumentTreeManager
tree, Damage damage)
at Microsoft.Windows.Design.Platform.ViewProducerBase.UpdateView(DocumentTreeManager tree, Damage
damage)
at Microsoft.Windows.Design.DocumentModel.ViewProducer.UpdateView(UpdateDamageArguments args)
考虑到我在星期五没有错误地编辑此表格,这似乎是随机的。