.Net
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists .Net

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old June 28th, 2008, 06:19 AM
Benny Skjold Tordrup
Guest
Dev Archives Newbie (0 - 499 posts)
 
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

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists .Net > Styling multi content buttons in WPF


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT