Friday, August 30, 2013

Changing the button background color in the event handler with c#

Other than there not being a Color.Red (did you mean Colors .Red?) that works for me. (And other than hardcoding colors, but this is just test code. In production you'd pull the color from a resource and respect high contrast settings).


Can you provide more context? Do you have the button template or contented so that the background isn't visible?


--Rob


No comments:

Post a Comment