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
410
DataError markup shows icon in cell but no highlight
posted

Hi,

I'm currently moving our style customizations from source code to the App Stylist. I have trouble with the DataERror state of the cell. I changed background color and icon image and both are displayed correctly in the grid inside the AppStylist. But in my application, when I enter an incorrect value in a cell, I get only the icon and not the different background color. For WPF I found a setting called DataErrorDisplayMode but I can't find something like that for WinForms.

Can you help me with any idea what might be wrong?

(The grid is in a WPF application, via a WindowsFormsHost)

Thanks and regards,

Bettina

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Bettina,

    So.. the error background color shows up in AppStylist, but not in your application?

    The only explanation for that is that something in the application is overriding the color. Perhaps you are applying a BackColor to the individual cell or row in code?

Children
No Data