TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
NANDA KUMAR
NA
22
2.8k
Style not working properly for Label and TextBox
Jun 29 2014 9:34 AM
Hi
I have the style like:-
<Style TargetType="Textbox">
<Style.Trigger>
<Trigger Property="IsEnabled" value="False">
<Setter property="Foreground" value="Brown"/>
</Trigger>
<Trigger Property="IsEnabled" value="False">
<Setter property="Foreground" value="Blue"/>
</Trigger>
</Style.Trigger>
</ Style>
Here everthing is working fine but when i give the Isenabled = false, then that trigger is not firing. This same case for the label.
May i know where i am mistaking and how to make this work.
Thanks in advance.
Reply
Answers (
1
)
How to upload image in datagridtemplatecolumn image
Items reordering/drag drop in Wrap Panel