Hello,
im trying to give the border of a row a custom color. I tried everything - but the border on the bottom and on the top does not change ( the border between 2 rows)
Here is my current RowFormatting Event
Attached is a picture if my description was a little bit unclear.
I would be very happy if someone knows where my problem or mistake is.
Greetings,
Raimund
//edit .. just noticed that i spelled "separator" wrong
im trying to give the border of a row a custom color. I tried everything - but the border on the bottom and on the top does not change ( the border between 2 rows)
Here is my current RowFormatting Event
void _radGV_RowFormatting(object sender, RowFormattingEventArgs e){ e.RowElement.BorderBoxStyle = BorderBoxStyle.SingleBorder; e.RowElement.BorderGradientStyle = GradientStyles.Solid; if (e.RowElement.IsCurrent) { System.Drawing.Color c = System.Drawing.Color.LightBlue; e.RowElement.BackColor = c; e.RowElement.BackColor2 = c; e.RowElement.BackColor3 = c; e.RowElement.BackColor4 = c; e.RowElement.GradientStyle = GradientStyles.Solid; e.RowElement.BorderColor = c; e.RowElement.BorderColor2 = c; e.RowElement.BorderColor3 = c; e.RowElement.BorderColor4 = c;
}}Attached is a picture if my description was a little bit unclear.
I would be very happy if someone knows where my problem or mistake is.
Greetings,
Raimund
//edit .. just noticed that i spelled "separator" wrong