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
210
How to change vertical grid lines color ?
posted

Hi,

I want to display vertical lines of my grid in red.

I tried to do the following : 

 

e.Layout.Override.BorderStyleCell =

 

UIElementBorderStyle.Solid;

e.Layout.Override.CellAppearance.BorderAlpha =

 

Alpha.Default;

e.Layout.Override.CellAppearance.BorderColor =

 

Color.Red;

e.Layout.Override.CellAppearance.BorderColor2 =

 

Color.Red;

I can see vertical lines but not in red, in a very light gray.

I tried to change those properties in design mode, but with the same result.

How can I change the color ? Could I have another property somewhere else that interferes ?

Thanks,

Verane.