在 Xamarin Forms 5.0.0 中未找到扩展器 [英] Expander was not found in Xamarin Forms 5.0.0
问题描述
我有一个 Expander
,它一直在我的应用程序中工作.我将 Xamarin Forms 更新到 5.0.0 版,XAML 向我发出错误信号,控件不再存在.
I have an Expander
that has always worked in my application. I updated Xamarin Forms to version 5.0.0 and XAML signaled me an error, the control no longer exists.
未找到类型扩展器".确认您没有遗漏程序集引用,并且所有引用的程序集都已构建.
The type 'Expander' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
它改名了吗?删除了吗?
Has it changed its name? was it deleted ?
推荐答案
Expander
已移至 Xamarin 社区工具包 命名空间下的包 (来源).
Expander
has been moved to Xamarin Community Toolkit package under the namespace (source).
xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
-
官方文档:https://docs.microsoft.com/en-us/xamarin/community-toolkit/views/expander
Official repo: https://github.com/xamarin/XamarinCommunityToolkit
这篇关于在 Xamarin Forms 5.0.0 中未找到扩展器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!