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
210
Highlight rows based on date in cell
posted

Hi,

I have a XamDataGrid that shows a list of Orders. I am trying to highlight any rows in red (either foreground or background doesn't matter) where the DueDate of the Order has passed. 

I was wondering if there is an example anywhere or someone could point me in the right direction of where to start? 

Cheers,
Dave

Parents
No Data
Reply
  • 2151
    Verified Answer
    Offline posted

    Hi Dave,

    For similar functionality you can check the "Conditional Formatting" sample in the WPF samples browser, located at:

    xamDataGrid / Display / Conditional formating

    For more information you can also check the following topic in the documentation:

    http://help.infragistics.com/doc/WPF/2013.2/CLR4.0/?page=xamDataGrid_CellValuePesenterStyleSelector_Reevaluated.html

    If you have any other questions please do not hesitate to ask.

    Sincerely,

    Radko

    Principal Product Developer (XAML)

    Infragistics
    www.infragistics.com/support

Children