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
naresh naresh
1.7k
72
16k
wpf mvvm listboxitem color changing
Jul 31 2013 3:43 AM
hi i am developing wpf application using mvvm pattern.
My question is --- in my view i have a button .if i mouse enter on that a pop will show list of applications sharing with other
users(i am hard coding that with 10 strings) . my requirement is i have 10 items in popup. by default on starting of application .
the first item (Stop Sharing) should be isenabled =false,opacity=0.4,foreground=white and remaining items(shared application names) isenabled= true and opacity=1,foreground=white
and if click on other items (means from 2-10) the first item(stop sharing) foreground should be red and opacity=1,isenabled=true, and later if user clcik
on first listboxitem the first listbox item(stop sharing) should change to foreground =white,opacity=0.4,isenabled-false. if possible can any budy share
some working solution!!!
Reply
Answers (
0
)
WPF- MVVM - Listbox databinding and changing color of item
Can someone help me - (Binding - Code behind)