How to bind Listbox to two properties?
- by Gabriel
I have in Silverlight a Grid with DataContext set to class ViewModel. ViewModel contains list of items (each of them containing int ID and string Text) and an integer "ID", which identifies actually active item (not selected item).
I would like to construct xaml with ListBox where activated item has another color. How can I do it?