Home Forums WinForms controls Xceed Grid for WinForms Gradients on Column headers Reply To: Gradients on Column headers

User (Old forums)
Member
Post count: 23064

Not sure I follow you explanation. What I understand is that you want the area containing the detail gird to be of one color, and the data rows of the detail grid to have a gradient style.  You already know how to set the data rows.  Have you tried setting the detail grid margins BackColor properties?

e.g.:

      detailGridTemplate1.SideMargin.BackColor = Color.DeepSkyBlue;
      detailGridTemplate1.TopMargin.BackColor = Color.DeepSkyBlue;
      detailGridTemplate1.BottomMargin.BackColor = Color.DeepSkyBlue;

 

Imported from legacy forums. Posted by André (had 2803 views)