June 14
AllInOneColorChooser Control
This element is the one more control from the ColorPicker constituent controls bug in addition to the published in my recent posts.
The AllInOneColorChooser control is the User Control composed of all the components which were developed as the parts of the ColorPicker controls bag. It provides you with the four different color pickers, and you can choose the one you are filling the most comfortable with. In addition it allows to set the color opacity with the opacity slider.
The pictures below show you different color pickers in action.
Sincerely I don't think that it would be very good idea to use AllInOneColorChooser in the production code. Rather you could regard it as the toy allowing you to try and compare different possibilities in one place and then choose one you prefer.
The AllInOneColorChooser has the SelectedColor Dependency Property used to get or set the value of the Color selected. When the SelectedColor changes the AllInOneColorChooser raises the SelectedColorChanged event.
The code
You can download the code and the samples here:
The archive contains my WPFGears library with samples, tests, etc. It’s the Visual Studio 2008 SP1 solution targeted to .NET Framework 3.5.
You’ll find AllInOneColorChooserSample project there. AllInOneColorChooser control code is in the WPFGears library project ColorPickerControls folder.
Regards,
Oleg V. Polikarpotchkin