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
170
How to create a trigger based on IsDataChanged
posted

I want to create a style. When cell value is updated from user interface, the foreground color in that cell would change. How can I do it?

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Zheng,

     

    Thank you for your post. I have been looking into it and I suggest you use the following code in your XamDataGrid’s CellChanged event:

     

    e.Editor.Foreground = Brushes.YellowGreen;

     

    Please let me know if this is what you want to achieve or I have misunderstood you in some way.

     

    Looking forward for your reply.

Children