XamarinCommunityToolkit
XamarinCommunityToolkit copied to clipboard
System.Exception: 'Handler not found for view Xamarin.CommunityToolkit.UI.Views.Expander
I have used Visual studio 2022 preview 2.0 MAUI.I want to used a expander using Community toolkit ,But right now i am facing a exception " System.Exception: 'Handler not found for view Xamarin.CommunityToolkit.UI.Views.Expander.'" How can i resolve this issue please Guide me .
Also I have download the nuget. 1)Xamarin Community Toolkit Markup MauiCompat 2)Xamarin.CommunityToolkit.MauiCompat NOTE:--I want a MAUI Expander Control Please share me a solution My View Is:-
NameSpace:- xmlns:behaviors="http://xamarin.com/schemas/2020/toolkit" View:- behaviors:Expander behaviors:Expander.Header
<Image.Triggers> </Image.Triggers>
</behaviors:Expander.Header>
behaviors:Expander.ContentTemplate <DataTemplet> </DataTemplet> </behaviors:Expander.ContentTemplate>
</behaviors:Expander>
@vplife1 Could you attach a small repro?
@pictos I have create a small project . used Visual studio 2022 preview 2.0 MAUI. Now the Expander UI is not display please check .Download my source.
https://github.com/vplife1/MauiApp3.git
@pictos have you get any solution for expander ,Have you checck
https://github.com/xamarin/XamarinCommunityToolkit/issues/1750#issuecomment-985645536
@pictos Have you check??
@vplife1 didn't have a chance yet, I was working on other tasks. As mentioned by @VladislavAntonyuk if you're using a MAUI application you shouldn't use our MauiCompat packages use this instead. Be aware that this version was built on top of Maui p11, so it may fail on p12
@pictos Thank you reply. I will happy to use Maui Community Toolki.
@vplife1 I managed to make it work with MAUI by removing the BaseTemplatedView and copying the source code from xf community (Expander), implementing the component from scratch.
Preview:
There are some bugs.
Expander will be a part of MCT 1.1.0