Infragistics Windows 表单错误 - "Object of type 'Infragistics.Win.Appearance' cannot be converted to type 'Infragistics.Win.AppearanceBase'."

Infragistics Windows Form error - "Object of type 'Infragistics.Win.Appearance' cannot be converted to type 'Infragistics.Win.AppearanceBase'."

我在表单中拖放了一个 Ultra Panel 之后。 它正在显示:

Object of type 'Infragistics.Win.Appearance' cannot be converted to type 'Infragistics.Win.AppearanceBase'.

需要帮助如何解决?

听起来您的项目引用了多个版本的 Infragistics 程序集。如果是这种情况,解决方案是确保所有 Infragistics 引用都指向同一版本的工具集。这通常是通过删除对引用较少的版本的引用来完成的。