June 14
This element is the one more control from the ColorPicker constituent controls bug in addition to the published in my recent posts.
The 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.
The 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 SelectedColorChanged event.
On the base of the ColorChooser control the ColorDialog dialog is built .
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 ColorChooserSample and ColorDialogSample projects there. The ColorChooser control and the ColorDialog dialog code is in the WPFGears library project ColorPickerControls folder.
Regards,
Oleg V. Polikarpotchkin
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
This element is the one more control from the ColorPicker constituent controls bug in addition to the published in my recent posts.
The KnownColorPicker control is designed as the tool to select the Color from the set of predefined colors. It's the very simple User Control and is developed as the separate entity to encapsulate the predefined color sets initialization code and ListBox and ComboBox controls templates.
The KnownColorPicker control has two sets of predefined colors. The first one contains 64 colors which we can see in the Windows Common Color Dialog. This set is labeled as "Base Colors" and is presented in the ListBox at the top. The second one contains all the colors defined in the Windows.System.Windows.Media.Colors class. This set is labeled as "All WellKnown Colors" and is presented in the ComboBox at the bottom.
That is the sample:

At the figure above the Bisque border is given to the KnownColorPicker control just to make it distinctive.
The KnownColorPicker has the SelectedColor Dependency Property used to get or set the value of the Color selected. When the SelectedColor changes the KnownColorPicker 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 KnownColorPickerSample project there. KnownColorPicker control code is in the WPFGears library project ColorPickerControls folder.
Regards,
Oleg V. Polikarpotchkin
June 11
The RainbowColorPicker2 control is the composition of the RainbowSlider and the ColorSaturationBox controls. The RainbowColorPicker2 is full fledged color picker allowing you to select the color Hue with its RainbowSlider and the color Saturation and Luminosity with the ColorSaturationBox part.
That is the sample:
At the figure above the Bisque border is given to the RainbowColorPicker2 control just to make it distinctive.
The RainbowColorPicker2 has the SelectedColor Dependency Property used to get or set the value of the Color selected. When the SelectedColor changes the RainbowColorPicker2 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 RainbowColorPicker2Sample project there. RainbowColorPicker2 control code is in the WPFGears library project ColorPickerControls folder.
Regards,
Oleg V. Polikarpotchkin
This element is the one more control from the ColorPicker constituent controls bug in addition to the published in my recent posts.
The RainbowColorPicker control is the composition of the RainbowBox and the LuminositySlider controls. The RainbowColorPicker is full fledged color picker allowing you to select the color Hue and Saturation with its RainbowBox and the color Luminosity with the LuminositySlider part.
That is the sample:

At the figure above the Bisque border is given to the RainbowColorPicker control just to make it distinctive.
The RainbowColorPicker has the SelectedColor Dependency Property used to get or set the value of the Color selected. When the SelectedColor changes the RainbowColorPicker 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 RainbowColorPickerSample project there. RainbowColorPicker control code is in the WPFGears library project ColorPickerControls folder.
Regards,
Oleg V. Polikarpotchkin