Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Commented Unassigned: ColorCanvas decrements blue slider upon display [20046]

$
0
0
I'm using the ColorCanvas in my data template for a color selection view model. When I launch a window with this view model as the data context, the setter for the property bound to the color canvas's SelectedColor is called with a new value that is exactly 1 less than the initially bound value (the blue value is decremented). The call stack shows that the slider was moved, which triggered the property change. I never touched the slider, so it appears the slider is being moved from within the ColorCanvas. Any ideas why this is happening?

(To clarify, the property is set once by me in the view model, and then is immediately set again by the slider change, to a value 1 less than I had set it to.)
Comments: ** Comment from web user: nielw **

As requested, a VS 2010 project that demonstrates the issue.


Viewing all articles
Browse latest Browse all 4964

Trending Articles