Can anyone tell me please how to change the visual states of the component? Basically I want to change the blue background (mouseOver, mousePressed, IsOpen etc) with different LinearGradientBrush but I am clueless how to go about it. By editing the control template in Blend I managed to add custom trigger and override the main button part when mouseIsOver, but the glyph part and mousePressed etc are not willing to change..... how should I do it? Are the background colors defined somewhere where I could just change them? If not how should I retemplate it that I can have differen background in these visual states? Thanks a lot.
↧