-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Unable to set ControlTemplate for TemplatedView in Xamarin.Forms version 5.0 #12484
Comments
Hi, @MuneeshKumarG - thanks for submitting this issue! Hmm I wasn't able to reproduce the issue you're describing - could you attach a sample project that reproduces the bug and uses |
Please find the sample below. In 5.0 Xamarin.Forms version OnElementChanged not called, please check. |
any progress on this? |
Any update on this? |
Is it fixed in 5.0.0 Pre Release 5 ? |
Glad to see this is a blocker, it causes issues with SyncFusions SFTextInputLayout tested last on pre 5 |
I have checked this problem in Xamarin.Forms version 5.0.0.1829-pre6. But still issue occurring. OnElementChanged have not called. Please check with already attached sample with XF new version. |
Any update on this? |
SyncFusions SFTextInputLayout does not work also with Xamarin.Forms version 5.0.0.1829-pre6 |
@MaximMikhisor : SfTextInputLayout used TemplatedView. This forum raised for the TemplatedView problem in 5.0. Now the problem resolved in Xamarin.Forms 5.0.0.1874. Now SfTextInputLayout also working fine with this Xamarin.Forms 5.0.0.1874 version. |
We are using customized TemplatedView for our customers like ContentView. Until version Xamarin.Forms 4.8.0.1534, it works fine. When we upgrade to 5.0 version, it stopped.
In platform specific Renderer not working after upgrading 5.0. We have set ControlTemplate in our CustomView constructor. If we remove the constructor, it works fine.
If we set ControlTemplate, native renderer OnElementChanged not working.
It works until 4.8.0.1534.
Please check the below code and update me the solution for this.
MainPage.xaml
MainPage.xaml.cs
Android project -> Renderer.cs
The text was updated successfully, but these errors were encountered: