I need to change the color when i click

I need to change the color when i click toolbar items.


I attach the video sample below!!!

please help me in this situation.

I change the color of SfImageEditor this color is not good!!!


https://drive.google.com/file/d/1pxV5tn17QF5Gh55BFw0dl-ds2XFBaZe_/view?usp=sharing



1 Reply

ET Eswaran Thirugnanasambandam Syncfusion Team November 19, 2021 08:40 AM UTC

Hi Lahiru Rashmika, 
 
Greetings from Syncfusion. 
 
We have checked your query and provided video, we have suspected that you are changing the Background color of SfImageEditor and its ToolbarItems and it cause the reported problem “Light color is applied while tapping the toolbar items”. You can achieve your requirement by switch the device theme to dark or applying dark theme to the SfImageEditor control using the below snippet. 
[XAML]: 
<ResourceDictionary> 
     <ResourceDictionary.MergedDictionaries> 
           <!-- Theme resource dictionary --> 
           <syncTheme:DarkTheme /> 
 
          <!-- Control style resource dictionaries --> 
          <imageeditor:SfImageEditorStyles /> 
     </ResourceDictionary.MergedDictionaries> 
</ResourceDictionary> 
 
Also, we have prepared a sample for the same. Please get it from below link 
https://www.syncfusion.com/downloads/support/directtrac/general/ze/ImageEditor_Sample10537933  
 
Please find the tested video from the below link 
https://www.syncfusion.com/downloads/support/directtrac/general/ze/DemoVideoIE2007347455  
 
Please refer the below user guide link to know more information about Syncfusion theme support 
https://help.syncfusion.com/xamarin/themes/themes 
 
Please let us know if you need any further assistance.  
 
Regards, 
Eswaran. 


Loader.
Up arrow icon