Replies
Ok I found why. It was the isl in the project that was COPY ALWAYS which wasn't the one I modified. I was modifying the one in RELEASE and it was overrided.
Thank you
I looked at the C# code and there's nothing inside the code that changes a layout or anything about the row background nor the isl file
Hi,
Of course if it works for you and I have some kind of setting that override even if I do a sample it'll certainly work because I will not bring the faulty setting. The question is how do I go about finding what kind of setting could possibly override ?
My last attempt 😉
e.Row.Appearance.BackHatchStyle = BackHatchStyle.None;
e.Row.CellAppearance.BackGradientStyle = GradientStyle.None;
e.Row.CellAppearance.BackHatchStyle = BackHatchStyle.None;
e.Row.Appearance.BackColor2 = NewColor;
e.Row.CellAppearance.BackColor = NewColor;
e.Row.CellAppearance.BackColor2 = NewColor;
e.Row.Appearance.ForeColor = Color.White;
I tried this but no luck
//e.Row.Appearance.BackHatchStyle = BackHatchStyle.None;
//e.Row.CellAppearance.BackGradientStyle = GradientStyle.None;
//e.Row.CellAppearance.BackHatchStyle = BackHatchStyle.None;
e.Row.Appearance.BackColor2 = NewColor;
e.Row.Appearance.ForeColor = Color.White;
Here's my new code :
e.Row.Appearance.BackHatchStyle = BackHatchStyle.None;
e.Row.CellAppearance.BackGradientStyle = GradientStyle.None;
e.Row.CellAppearance.BackHatchStyle = BackHatchStyle.None;
e.Row.Appearance.BackColor2 = NewColor;
e.Row.Appearance.ForeColor = Color.White;
All this still doesn't change the background
One small thing.
Idid remove the background image, saved the style and now I have the following code
e.Row.Appearance.BackGradientStyle = Infragistics.Win.GradientStyle.None;
e.Row.Appearance.BackColor = NewColor;
e.Row.Appearance.ForeColor = Color.White;