Color Picker In Action (In The Silverlight Particle Project)
Just for fun, I took my color picker and plugged into Robby Ingebretsen’s Silverlight Particle Generator. I had to make some tweaks to the XAML to alter the look to just what I wanted it to be, but you can check out the result here.
By the way, if you’d like a rock solid version of the color picker, let me know. My inclination is to re-write the whole thing as a custom control and give it support for things like two way color binding, make it a template-able control, that kind of stuff. The end result would be something faster, easier to use and more customizable, but I hesitate to put the energy into it if there is no desire for other people to use it.
So… let me know if you’re interested.
UPDATE from December 3: I’ve updated the Silverlight gadget, which is a stripped down version of the Silverlight control. I’ll be getting the more robust control out shortly. You’re more than welcome to download the gadget source and deconstruct.
Update (12/05/08):
0 Responses to Color Picker In Action (In The Silverlight Particle Project)
Pingback: Silverlight Cream for October 01, 2008 -- #384
Ted: Thanks for the feedback… these problems are definitely part of the “I really kind of need to rework this” thing. 🙂 Right now the control is a bit of a square peg in a round hole.
The slider problem is actually the most annoying. The slider can be pulled, but only sometimes. Unfortunately, for reasons I still can’t figure out, the slider in Silverlight doesn’t actually respond to “MouseLeftButtonDown” or “MouseLeftButtonUp” events… even though these are perfectly valid events for that control. I’m probably going to ditch the slider control in favor of a custom slider that I’ll design that actually works the way I want it to work.
Pingback: 2008 September 30 - Links for today « My (almost) Daily Links
A little bug. If I press left mousebutton and move around in the colorarea and move the mouse outside that area and release the mouse, the control doesn’t know that I have released the mousebutton.
And oh, the textboxes (for Copy RGB, Copy Hex) should probably be readonly. the hue-slider is annoying that you can’t just pull the knob around. 🙂
Other than that I think it’s super, thanks for sharing!
Hey do go on, I think It would be nice control to have (and to use) in projects!