Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
215
Highlight Cell Color
posted

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.

 

  • 27093
    posted

    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 Monov
    Developer Support Engineer
    Infragistics Bulgaria
    www.infragistics.com/support

  • 1233
    Verified Answer
    posted

    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.