MULTIPLE CONTROLS: Dynamically switching from Dark to Light Theme for multiple controls.

Good morning/afternoon/evening,
I have an issue with switching between Light and Dark Themes when using the new App_Theme feature in Xamarin Forms.

I have attempted several steps and the possible results are usually any of the itemized states below:
  1. I can successfully switch from Dark to Light Mode and all Syncfusion controls switch between modes. However, I can't apply a style to change specific colors or font families of any of the controls in use. I am making use of your Essentials UI Kit (Bottom tabbed page) and a SfSchedule.
  2. I can apply specific styles to change the colors or font of the controls as I please but when switching from Dark to Light modes and vice versa, All syncfusion controls remain in the Theme(Mode) the started with when the App loaded.
Attached is My Source code.

Also the Left and Right swiping functionality breaks in all versions of Xamarin Forms iOS >= 4.7


Attachment: TestXamarin_d230d4fe.zip

11 Replies

SS SaiGanesh Sakthivel Syncfusion Team July 15, 2020 03:57 AM UTC

Hi Paula, 
 
Thank you for contacting syncfusion support. 
 
#Regarding Dynamically switching from Dark to Light Theme for multiple controls 
Currently, we are validating the reported scenario and we will update the further details on or before the July 16,2020. We appreciate your patience until then. 
 
Regards, 
SaiGanesh Sakthivel


MS Muniappan Subramanian Syncfusion Team July 16, 2020 01:26 PM UTC

Hi Paula, 
 
We checked your query "Dynamically switching for several controls from Dark to Light Theme." When we deploy the sample on android and iOS platform, we get the xaml parse exception. Please find the screen shot from the below link, 
 
 
Did you face this type of exception? Please provide the sample in runnable state, it will help us to provide the better solutions to you. Please let us know if you have any concern.  
 
Regards,   
Muniappan S. 



PA Paula Aliu July 16, 2020 09:33 PM UTC

Yes I got that error also


SS SaiGanesh Sakthivel Syncfusion Team July 17, 2020 03:10 PM UTC

Hi Paula, 
 
Thank you for the update, 
 
Can you please provide the sample in runnable state? It will help us to provide the better solutions to you. 
 
Regards, 
SaiGanesh Sakthivel 



PA Paula Aliu July 17, 2020 05:33 PM UTC

My Apologies

Attachment: syncfusion_test_ffe3a889.zip


MS Muniappan Subramanian Syncfusion Team July 20, 2020 12:21 PM UTC

Hi Paula Aliu, 
 
Query 1: Dynamically switching for several controls from Dark to Light Theme 
We have checked your query and we suspect that your application uses custom theme. When you use the custom theme instead of the Syncfusion theme, the custom theme will apply in the application and the Syncfusion theme does not apply it would be an expected behavior. 
 
Please refer our UG document to know more about theming in SfSchedule,  
 
Query 2; Left and Right swiping functionality breaks in all versions of Xamarin Forms iOS 
We have checked the reported query “SfListView Swiping breaking with Xamarin.Forms version 4.7 in iOS” from our end and we have already faced this issue in SfListView. On further analysis, we would like to inform you that the reported issue is a break from Xamarin.Forms version 4.7. Also, the reported issue has been resolved in the latest Xamarin.Forms version 4.7.0.1142.  
 
Please refer the following bug report,  
  
We hope that this helps you, kindly revert us if you have any concern.   
 
Regards,   
Muniappan S. 



PA Paula Aliu July 20, 2020 01:09 PM UTC

Hi Muniappan 

I am aware of what you are saying and I have looked extensively at the links and other related links you provided. However, I can not seem to use specific colors when I am switching between dark or light modes with out using a custom theme. Is Syncfusion's Essential UI Kit for Xamarin looking into supporting Dark Mode?


DD Devakumar Dhanapoosanam Syncfusion Team July 21, 2020 02:13 PM UTC

Hi Paula Aliu, 
 
Is Syncfusion's Essential UI Kit for Xamarin looking into supporting Dark Mode?  
 
Currently not, we are working on that and it will be available in the mid of August 2020. 
 
Regards, 
Devakumar D 



YP Yuvaraj Palanisamy Syncfusion Team August 12, 2020 07:04 AM UTC

Hi Paula Aliu, 
 
We have planned to include the Essential UI Kit dark theme support in the mid of September 2020. 
 
Regards, 
Yuvaraj 



YP Yuvaraj Palanisamy Syncfusion Team September 17, 2020 07:00 AM UTC

Hi Paula Aliu, 
 
We would like to let you know that Essential UIKit  is in final review for having a plan to include more features like UI Kit sample browser architecture changes along with its dark theme support.  For this reviewing stage, we have planned to be rolled out this release by end of September 2020 without having any further delays. 
 
Regards, 
Yuvaraj 



DD Devakumar Dhanapoosanam Syncfusion Team October 2, 2020 07:14 AM UTC

Hi Paula Aliu, 
 
Sorry for this delay.  
 
Still having some more pending on addressing the required features and in the testing process, hence we have planned to be rolled out this Essential UIKit release by end of October 2020 without getting furthermore delays. 
 
Regards, 
Devakumar D 


Loader.
Up arrow icon