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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change FixedLineColor has no effect

Thread ID:

Created:

Updated:

Platform:

Replies:

94003 Apr 15,2010 02:21 PM Apr 20,2010 07:31 AM Windows Forms 1
loading
Tags: GridControl
Steven Lubowsky
Asked On April 15, 2010 02:21 PM

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 07:31 AM

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.

Regards,
Nirmal

CONFIRMATION

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.

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

;