hi i am developing wpf application using mvvm pattern.
WPF- MVVM - Listbox databinding and changing color of item
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
hi i am developing wpf application using mvvm pattern.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Ruchi H105 reputationPosted Jul 30, 2013, 11:07 PM EDT
You have to bind two different templates for selected item and other items in list.
See here http://stackoverflow.com/questions/146269/change-wpf-datatemplate-for-listbox-item-if-selected
naresh naresh63 reputationPosted Jul 30, 2013, 11:36 PM EDT