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
185
Showing DataError highlighting when Row Selected.
posted

Hi

I have an UltraWinGrid with SupportsDataErrorInfo switched on for cells.
This works fine, changing the BackColor of the cells which have an error.

The problem is I need to still see this different / highlighted back color when the user has the whole row selected.
At the moment, the BackColor of the SelectedRow Appearence completely overrides it.

I have tried many ways to get the Error Backcolor to show through, changing transparency and alpha levels but have had no luck.

Any help you could give me would be greatly appreciated.

Thanks

Martin

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Martin,

    I recommend that you turn on the selection overlay.


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                e.Layout.SelectionOverlayColor = SystemColors.Highlight;
            }

    This will make the grid's selected rows appear with a semi-transparent overlay so that you can still see the colors of the cells in the row.

Reply Children
No Data