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
570
Prevented Selected Row Appearance from overriding Cell Appearance
posted

I have a grid where certain cells have had there appearance object modified so thier forecolor is different from all the other cells. When the row becomes selected, those cells with custom forecolor settings are displayed as having default colors. Is there a setting that can be changed so that the selected row uses the appearance of the cell?

  • 469350
    Suggested Answer
    Offline posted

    In addition to the Appearance property of the cell, there is also a SelectedAppearance. So you probably want to just set both to the same appearance. That way, when the cell is selected, it will appear the same as when it is not selected.

  • 440
    posted

    You might try by changing the Selected Row Appearance to that of the cell by

    UltraWingridDesigned-->Apperance Browser-->Row Appearances-->Selected Row

    Here you can set the BackColor ,ForeColor etc same as the cell or transparent if you dont want the selected row to be highlighted.

    Or you can set it explicity in code.

    -K