color pallet

I

ipramod

Hi,

Is there any standard control available in C# to display color pallet
or to choose the colors?
If yes, can you please send a code snippet?

Please let me know ASAP.

Thanks,
PI
 
I

ipramod

Thanks for your quick reply.

Your suggestion works but if I want to have the color palette which
will just be dropped down and then the user selects it from the
palette. Is there any control with such functionality? Does photoshop
provides the same kind of palette?

Thanks,
PI
 
T

ThunderMusic

Hi,
Yes Photoshop provides this kind of palette, but I don't think you can
access it from your app...

I don't know of any control that does this, so you'll probably have to
develop your own using GDI+ (Graphics objects in .NET). it's pretty simple,
but you'll need some maths if you want to make it as complete as photoshop
does... but a base one should do just fine... ;)

Here, this page could help you get things started
http://www.codeproject.com/cs/miscctrl/ColorPaletteControl.asp

I hope it helps

ThunderMusic
 
G

Guest

use the colordialog,
Represents a common dialog box that displays available colors along with
controls that enable the user to define custom colors.
 
I

ipramod

Thanks for your help !!!



Hi,
Yes Photoshop provides this kind of palette, but I don't think you can
access it from your app...

I don't know of any control that does this, so you'll probably have to
develop your own using GDI+ (Graphics objects in .NET). it's pretty simple,
but you'll need some maths if you want to make it as complete as photoshop
does... but a base one should do just fine... ;)

Here, this page could help you get things startedhttp://www.codeproject.com/cs/miscctrl/ColorPaletteControl.asp

I hope it helps

ThunderMusic







- Show quoted text -
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top