Posted
on Aug 10, 2009
(permalink)
I would like to change the image on the ColorPicker to one that I provide (to the bucket "fill" image). Is this possible? It would be nice to have this image built into the control and then just specify Foreground/Background as a property to determine which image is to be displayed.
Reply
Bobi
Bobi
Posted
on Aug 11, 2009
(permalink)
Hello Dennis,
You can customize the appearance of colorpicker button by using
ColorButtonStyle property.
Please take a look at the following example:
http://demos.telerik.com/silverlight/#ColorPicker/FirstLook
I hope that this will help you. Please let us know if you have any other questions.
Regards,
Boryana
the Telerik team
Reply
Posted
on Aug 11, 2009
(permalink)
I agree that this example looks like what I want to accomplish, but I am very confused by the static resource - it looks like you are hand drawing the "image". I just want to say image="paintbucket.png" and be done with it. Is there a way to simply assign a new image, or do I have to "draw" the image using the resources. I will admit to you that I am new to Silverlight.
Reply
Answer
Valentin.Stoychev
Valentin.Stoychev
Posted
on Aug 11, 2009
(permalink)
Hello Dennis,
You can insert any xaml code there - including an Image element with the appropriate content. Just replace the Path elements with Images. Please let us know if you need more help on that.
Greetings,
Valentin.Stoychev
the Telerik team
Reply
Posted
on Aug 11, 2009
(permalink)
Thanks for the help. I was able to figure it out with the below style (in case someone else wants a quick example).
Reply
Jugal
Posted
on Sep 7, 2011
(permalink)
Thanks Dennis...
It is what I needed.
Reply