在 Xamarin Forms 5.0.0 中找不到扩展器

Expander was not found in Xamarin Forms 5.0.0

我有一个 Expander 在我的应用程序中一直有效。我将 Xamarin Forms 更新到版本 5.0.0 并且 XAML 向我发出错误信号,该控件不再存在。

The type 'Expander' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

它改名了吗?被删除了吗?

Expander 已移至 Xamarin Community Toolkit package under the namespace (source)。

xmlns:xct="http://xamarin.com/schemas/2020/toolkit"