Reputation: 167
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 ?
Upvotes: 3
Views: 4420
Reputation: 9701
Expander
has been moved to Xamarin Community Toolkit package under the namespace (source).
xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
Official documentation: https://learn.microsoft.com/en-us/xamarin/community-toolkit/views/expander
Official repo: https://github.com/xamarin/XamarinCommunityToolkit
Upvotes: 5