highlight several columns in one row

2 posts, 1 answers
  1. ITA
    ITA avatar
    383 posts
    Member since:
    Aug 2009

    Posted 04 Aug Link to this post

    Hi,

    i use a RadGridView, bound to an ObservableCollection<KennzahlenViewModel>. To show diviasions of different columns i use some GridViewExpressionColumns in one row. Now i want to set the forecolor red if the result is less than zero.

    How can i do this?

    Thanks
    Best Regards

  2. Answer
    Dilyan Traykov
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 05 Aug Link to this post

    Hello,

    In order to achieve the desired behavior, you can make use of RadGridView's CellStyleSelector property.

    Please let me know if it works for you.

    Regards,
    Dilyan Traykov
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top