'Graying Out' a WPF button image?
Posted
by David Veeneman
on Stack Overflow
See other posts from Stack Overflow
or by David Veeneman
Published on 2010-03-27T20:57:35Z
Indexed on
2010/03/27
21:03 UTC
Read the original article
Hit count: 440
wpf
|wpf-controls
I have a simple Button
control that contains an Image
object as its content. I want so set the Image
opacity to 0.5 when the Button
is disabled to provide an additional visual cue as to the Button
status.
What is the simplest way to accomplish that result in XAML? Thanks for your help.
© Stack Overflow or respective owner