syncfusion:ComboBoxAdv

Hi Ma'am/Sir
Is there any way to highlight one selected item only in syncfusion combobox.

Thanks

3 Replies

SK Senthil Kumaran Rajan Syncfusion Team October 1, 2018 12:34 PM UTC

Hi Ariel 
 
Thank you for contacting Syncfusion Support. 
 
We are able to reproduce the reported behavior on mouse pressed of item when another item is selected. If the two item get highlighted on this scenario, it is due to the brush we handled it for Pressed state of ComboBoxItemAdv internally . You can overcome this behavior and you can disable the highlighting of the other item by overriding the ComboBoxItemAdv template. We have prepared the sample for the sample and attached it for your reference. Please download it from following location: 
 
Code:[XAML] 
 
 
<MultiTrigger> 
<MultiTrigger.Conditions> 
<Condition Property="IsPressed" Value="true" /> 
<Condition Property="skin:SkinStorage.EnableTouch" Value="false" /> 
</MultiTrigger.Conditions> 
<Setter Property="Foreground" Value="Black" /> 
</MultiTrigger> 
 
 
 
 
Please try this solution and let us know if it is helpful. 
 
Regards, 
Senthil 



AR Ariel October 2, 2018 12:56 AM UTC

Hi 

It worked thanks for the help.

Thank You


SK Senthil Kumaran Rajan Syncfusion Team October 3, 2018 04:24 AM UTC

Hi Ariel, 
  
Thank you for your update. 
  
We are glad to know that, your requirement has been achieved. Please let us know if you need any further assistance, we will be happy to assist you. 
  
Regards, 
Senthil 
 


Loader.
Up arrow icon