Skip to content

DevExpress-Examples/wpf-data-grid-change-background-color-for-modified-cells

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)