This element is the one more control from the ColorPicker constituent controls bug in addition to the published in my recent posts.
ColorChooser control is the User Control containing the KnownColorPicker and RainbowColorPicker as alternative ways to pick the color and the OpacitySlider to set its opacity. It resembles the Windows Common Color Dialog which we are accustomed to.
That is the sample.
ColorChooser has the
SelectedColor Dependency Property used to get or set the value of the Color selected. When the
SelectedColor changes the
ColorChooser raises the
On the base of the
ColorChooser control the
ColorDialog dialog is built .
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 ColorChooserSample and ColorDialogSample projects there. The
ColorChooser control and the
ColorDialog dialog code is in the WPFGears library project ColorPickerControls folder.
Oleg V. Polikarpotchkin