setting appearance in .Net Grid [Resolved]

Posted by Maplecurie under ASP.NET on 5/29/2016 | Points: 10 | Views : 275 | Status : [Member] | Replies : 1
hi!
please how do they set painting in cells, grouping rows and headers.




Responses

Posted by: Sobort84 on: 5/29/2016 [Member] Starter | Points: 50

Up
0
Down

Resolved
hi!!!!!! A nice question. Grid appearance is convenient in Dapfor .Net Grid
The code link below should help on that.

//Even colors
grid.Appearance.EvenRows.ForeColor = Color.Gold;
grid.Appearance.EvenRows.BackColor = Color.Gray;

//Odd colors
grid.Appearance.OddRows.ForeColor = Color.DarkOrange;
grid.Appearance.OddRows.BackColor = ControlPaint.Light(Color.Gainsboro);
grid.Appearance.OddRows.GradientEnabled = true;
grid.Appearance.OddRows.GradientDirection = GradientDirection.Vertical;
grid.Appearance.OddRows.GradientEndBackColor = ControlPaint.Dark(Color.Gainsboro);


Maplecurie, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response