Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Expander was not found in Xamarin Forms 5.0.0

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 ?

like image 460
signalover Avatar asked Jan 20 '26 09:01

signalover


1 Answers

Expander has been moved to Xamarin Community Toolkit package under the namespace (source).

xmlns:xct="http://xamarin.com/schemas/2020/toolkit"
  • Questions related to Expander on SO

  • Official documentation: https://learn.microsoft.com/en-us/xamarin/community-toolkit/views/expander

  • Official repo: https://github.com/xamarin/XamarinCommunityToolkit

like image 157
Cfun Avatar answered Jan 23 '26 21:01

Cfun