Adding Disabled Look to Images

H

HaySeed

I would like to render the images in a semi-transparent or grayscale variant
of the original to give a disabled look and avoid creating a complete second
library of icons & images for the "Disabled State"

Is there a way to adjust the ImageAttributes, ColorPallete or some such
trick to mute the intensity or opacity of the image?
 
H

Herfried K. Wagner [MVP]

HaySeed said:
I would like to render the images in a semi-transparent or grayscale
variant
of the original to give a disabled look and avoid creating a complete
second
library of icons & images for the "Disabled State"

Take a look at 'ControlPaint.DrawImageDisabled'. However, I fear that you
won't be satisfied by the result.
 

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