title: How to invert the colors of a WPF custom control
body: <p>I'm creating a custom control for my WPF application, and I'd like to know how I can invert the colors of the control when it's clicked.  I've gotten it to respond to mouse clicks, but when I try swapping the background and foreground brushes, only the background color changes.  The control is a die control and I want the colors to be inverted when it's selected.  I created the die faces by using a grid in the control template and placing ellipses with their fill brushes set to {TemplateBinding Foreground}.  Any help would be greatly appreciated.</p>