Selection mode

3 posts, 0 answers
  1. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 14 Apr 2010 Link to this post

    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. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 15 Apr 2010 Link to this post

    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.
  3. DevCraft banner
  4. andrea bellagamba
    andrea  bellagamba avatar
    43 posts
    Member since:
    Jul 2009

    Posted 15 Apr 2010 Link to this post

    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
Back to Top