I have an extended DataRow class that has a Brush property called BackgroundBrush. Is there any way to bind the xamXataGrid's row background to this value? For example, my xamDataGrid is bound to my ViewModel.DataTable
The ViewModel.DataTable consists of the extended DataRows that has the extra BackgroundBrush property. For brevity's sake, lets assume 3 rows are in my ViewModel.DataTable.
DataRow0.BackgroundBrush = Brushes.Red
DataRow1.BackgroundBrush = Brushes.Blue
DataRow2.BackgroundBrush = Brushes.Green
Is there any way to acheive this given that my grid is bound to a DataTable with the extended DataRow as I mentioned above? Thanks
Can someone please confirm or deny that this can be implemented the way I want?
I think I'm just not thinking straight due to the time change :) I'll be implementing this a different way using a data trigger. Thanks anyway.