Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a color dialog for WPF?

Tags:

dialog

wpf

I am looking for a color dialog for WPF? Is there one built in? Should I build my own ? Or do Win 32 interop? If so, how?

like image 572
user316030 Avatar asked May 06 '10 23:05

user316030


People also ask

What is color dialog in C#?

A C# ColorDialog control is used to select a color from available colors and also define custom colors. A typical Color Dialog looks like Figure 1 where you can see there is a list of basic solid colors and there is an option to create custom colors.

What is color dialog?

The Color Dialog box is used to display the Color dialog box and the selection of colors on the Microsoft Windows Application. It allows users to set or change the color of an object, such as the background color of a control or the color used to paint an object.

What is the purpose of color mode option in New dialog box?

Color Mode option in New dialog box decides the number of Colours that can appear in an image.


1 Answers

I wrote a simple WPF Color picker which supports the following features a while back

  • 3 different types of color swatch
  • Opacity slider
  • Mouse mover control for selecting color
  • Sets to current color on open
  • Standard dialog buttons

Here is the article in case you need it : http://www.codeproject.com/Articles/33001/WPF-A-Simple-Color-Picker-With-Preview

like image 50
sacha barber Avatar answered Sep 22 '22 10:09

sacha barber