18

Is there a built-in color-picker in Windows Forms?

Breeze
  • 2,010
  • 2
  • 32
  • 43
Peter17
  • 3,052
  • 9
  • 47
  • 77

1 Answers1

20

Yes, in the common dialog control. This control contains a ColorDialog color picker.

http://msdn.microsoft.com/en-us/library/system.windows.forms.colordialog.aspx

George Johnston
  • 31,652
  • 27
  • 127
  • 172
  • Thanks. It is a dialog window for picking a color. What control can be used to allow user to see currently selected color? – Peter17 Jul 06 '11 at 13:23
  • @Peter Upon selecting a color from the dialog, it will return you an object of type `Color`. You can then display that in any medium you'd like, such as a picture box. – George Johnston Jul 06 '11 at 13:24