Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 3.73 KB

File metadata and controls

44 lines (30 loc) · 3.73 KB

WPF Data Grid - Change Background Color for Modified Cells

This example demonstrates how to highlight grid cells that were edited by a user.

image

This approach does not highlight cells if you change their values at the data source level. In this case, you can use the DataUpdateFormatCondition instead.

Implementation Details

This example creates invisible unbound columns for each grid column. These Boolean unbound columns contain information on whether the corresponding grid column's cell was modified by a user. The CustomUnboundColumnData event populates unbound columns with data. The specified format condition highlights cells based on data in unbound columns.

Files to Review

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)