We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change FixedLineColor has no effect

Thread ID:





94003 Apr 15,2010 06:21 PM UTC Apr 20,2010 11:31 AM UTC WinForms 1
Tags: GridControl
Steven Lubowsky
Asked On April 15, 2010 06:21 PM UTC

I have a grid where I am setting the m_grid.Properties.FixedLineColor to a color value. The color does not change on the grid.

Does a call have to be made to some method to force the application of the new color?

Nirmal Raja [Syncfusion]
Replied On April 20, 2010 11:31 AM UTC

Hi Steven,

Thank you for your interest in Syncfusion products.

The FixedLineColor is to provide color for the line that divides the frozen column or row, so it will not be applicable for all the lines in the grid. I tried it in a sample and it worked as expected.

If you want to provide line color for all the lines in the GridControl then use the following sample code:
this.gridControl1.TableStyle.Borders.Bottom = new GridBorder(GridBorderStyle.Solid, Color.Red);
this.gridControl1.TableStyle.Borders.Top = new GridBorder(GridBorderStyle.Solid, Color.Red);
this.gridControl1.TableStyle.Borders.Left = new GridBorder(GridBorderStyle.Solid, Color.Red);
this.gridControl1.TableStyle.Borders.Right = new GridBorder(GridBorderStyle.Solid, Color.Red);

Please refer the sample from the sample browser on the following location:
\\My Document\Syncfusion\{Version Number}\Windows\Grid.Windows\Samples\2.0\Appearance\Grid Properties Demo

Let me know if you have any queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon