
June 28th, 2008, 06:19 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
Styling multi content buttons in WPF
Hi all
I have a style for at WPF button that changes the foreground color of the
button content when the button is disabled or pressed. This works fine if I
only add a text to the contents or use a single control as content.
If I then use a Grid as content in the button in order to make a more
sophisticated content, the above tricks do not work. I assume that it is
because WPF tries to set the foreground property directly on a single
control content - which I do not have in this case.
Any ideas?
Med venlig hilsen / Best regards
Benny Tordrup
|