We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SelectedColor does not change color in ColorPickerButton

I have a form, on the form is a list and a couple color picker buttons. When the user changes their selected item in the list, it changes the value of SelectedColor in the ColorPickerButton. There''s no additional magic, it simply calls "button.SelectedColor = foo ;" The first time I bring this up it works fine. Lets say my list has "White, Red, Blue". I select the second item in my list, and I choose "Green". So I left with the palette open and on Green. I now select blue and on doing so it calls "button.SelectedColor = foo ;" where foo is going to be blue. The palette comes up with Green selected in the palette. If I switch to standard colors it takes me to green, so the UI clearly thinks it should be using green. I figured something was wrong so I set an event handler for Click. When Click occurs, I take a look at the button in the debugger and SelectedColor is set to Blue. I look at the ColorUI.SelectedColor and it is also Blue. So I''m guessing there''s some step that I missed somewhere, but I''m really not certain where it is. Any ideas?

1 Reply

AD Administrator Syncfusion Team April 21, 2004 09:39 PM UTC

Hi Aaron, According to my understanding you are referring to the selection rectangle issue here. The selection rectangle does not correctly highlight the selected color when the SelectedColor property is assigned. This is a known issue and we have an open QA report #393 in this regard. I have updated it on your behalf, and we will try our very best to fix this issue at the earliest. We appreciate your feedback, and thanks for choosing Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Live Chat Icon For mobile
Up arrow icon