This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I have some "color" values which aren't System.Windows.Media.Color, but rather a custom type with actual Hue/Saturation/Value properties. I'd like a way to edit this visually, and the HSV color picker seems perfect. However, the SelectedColor property within the color editor binds to System.Windows.Media.Color, which in turn doesn't include HSV values. I could always write a converter to go from RGB->HSV, but there's a fatal flaw there - you can't tell whether the red (Hue) is 0 or 255/256... Is there any way to directly bind to the HSV values within the picker? Thanks, Reed |
|
|
Hello Reed The HsvColorPicker control already has an H property. In the next nightly build it will also include S and V properties. Jason Fauchelle |
|
|
Perfect! Thanks for adding these. I hadn't noticed the H property - was it added in a nightly? It's not in the current documentation, nor the nightly version I currently have... -Reed |
|
|
Yes, the H property was added in a nightly build, but that was a while ago so it is strange that you don't see it. Let me know how it goes when you get the next nightly build. Jason Fauchelle |
|
|
They're all there now. We're working on implementing this still, but it looks good at this point. Thanks Jason! -Reed |
|