This is a migrated thread and some comments may be shown as answers.

Selection mode

2 Answers 75 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
andrea bellagamba
Top achievements
Rank 1
andrea bellagamba asked on 14 Apr 2010, 10:42 AM
Hi ,
I am using a RadColorPicker to set teh background colro of some objects displayed in a  canvas.
The problem I have is that the SelectedColorChanged event is triggered only when the selected color is changed, and this prevents me from assigning the same color to 2 different object without having first to select a different color.

I have tried to use the MouseLeftButtonUp event, but this conflicts with my canvas MouseLeftButtonUp event handler, and all in all is a dirty solution.

Do you have another solution?
Thanks

2 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 15 Apr 2010, 12:59 PM
Hello andrea bellagamba,

You can use the MouseLeftButtonDown event. Check here about the syntax:
http://msdn.microsoft.com/en-us/library/ms598899.aspx

Regards,
Valentin.Stoychev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
andrea bellagamba
Top achievements
Rank 1
answered on 15 Apr 2010, 02:32 PM
I knew how to add an event handler, thanks anyway.
This solution just moves the probelm to the mouse down instead of mouse up event. bu tit doesn't solve it.

Thanks anyway
Tags
ColorPicker
Asked by
andrea bellagamba
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
andrea bellagamba
Top achievements
Rank 1
Share this question
or