Hi,
I have an ObservableCollection bound to a DataGrid. All object properties, except an id, are bound to datagrid columns. External to the collection i have two id' representing two objects in the collection of particular interest (for the sake of this example lets just say that the one id represents the "best" object in the collection and the other the "worst"). I'd like to set individual row styles (font, color etc) for the two rows holding the objects with ids equal to the external ids.
How can this be done?
Natuarlly I've visited a number of examples based on style triggers and setters, but i can't make it work. My current datagrid style is BasedOn MetroDataGrid (MahApps.Metro), and i have a suspicion that this might be conflicting with the usual way of doing things, but I'm sure at all.
Thanks
Erik