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

Closed Issue: Color canvas blue channel error? [21405]

$
0
0
Hi,

I have noticed an error when I'm programmatically setting color canvas values in some rare occasions.

Short description of my setup:

- Window with color canvas
- exposed property for setting selected color from another window

I call the color canvas window as dialog and then using exposed property i am setting selected color value (i have tried both setting current color using HexaDecimal value and SelectedColor property).

Problem is occurring when I programmatically set color to #FFFF0000,
_colorPicker.HexadecimalString = value where value is string #FFFF0000

When window with color canvas is loaded, sliders are set on #FFFF0004 or
Alpha 255
Red 255
Green 0
Blue 4

If i lower red value towards zero from #FFFF0000 to #FF000000 then value of blue also goes towards zero (eg if i set color to FFAA0000 i get value of 3 for blue etc)

I hope that i am clear enough

Regards,

Ivan

EDIT: Forgot to mention, i am using WPF toolkit 2.2.1 downloaded using NuGet

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>