Hello, i have a DataPresenter, which has a GridView. It bind a List of OrderData with some properties, one of them is a bool IsLocked
Is there a event at the binding of data to the presenter, to get the current OrderData to lock for the IsLocked Property to mark or color the Cell with a color?
Just following up on this thread. If you have any questions, please let us know.
I suppose you are looking to change the background color for all of the cells in the IsLocked column. You can achieve that with a style for the CellValuePresenter where the Background property is bound to the DataItem.IsLocked property using converter.
For more details look at the following blog post:
http://community.infragistics.com/blogs/alex_fidanov/archive/2010/01/12/howto-using-wpf-converters-to-style-the-xamdatagrid.aspx
Hope this helps!