Disable Buttons with a Grayscale Effect in WPF


Ward Bell demonstrates how to disable image-based buttons in LOB apps with a Grayscale Pixel Shader in WPF.  Not only does this save you from twice the image assets to maintain, but its also very simple to do.  And you feel cool, because you're using Pixel Shaders.

The Discussion

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.