I want to highlight a cell color when the current balance does not match with the sum of sub balance, I will be validating all records in button event and have to color the cell in C#.
Sample Image Attached.
Hello,
I am just checking if you got this worked out following twinfrey's suggestion or you still require any assistance or clarification on the matter.
If this is what you were looking for please verify the answer so it helps other users as well.
Sincerely,Petar MonovDeveloper Support EngineerInfragistics Bulgariawww.infragistics.com/support
You need to use a style with data triggers instead of manually coding this. Once you scroll, the style is probably overriding your setting. Your object will need a property that implements the business rule and then create a converter that interprets the results of the business rule as a background color.