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.

Horizontal and Vertical Grid line color

Thread ID:

Created:

Updated:

Platform:

Replies:

104787 Aug 17,2012 02:33 AM Aug 23,2012 01:21 AM Windows Forms 1
loading
Tags: GridControl
dev
Asked On August 17, 2012 02:33 AM

Hi,

Is it possible to set separate grid colors for horizontal and vertical grid lines in GridControl?

The GridControl provides options to show and hide the horizontal and vertical grid line separately but can we also set different colors to them?

regards,


Ragamathulla B [Syncfusion]
Replied On August 23, 2012 01:21 AM

Hi Dev,

Thank you for your interest in syncfusion products,

You can change the border style by using the following code.

this.gridControl1.RowStyles[2].Borders.Right = new GridBorder(GridBorderStyle.Dotted, Color.LightBlue, GridBorderWeight.ExtraThick);

Please refer to the following UG link which illustrates the same.

http://help.syncfusion.com/UG/User%20Interface/Windows%20Forms/Grid/Documents/519howtochangethelookofacellsborder.htm

http://help.syncfusion.com/UG/User%20Interface/Windows%20Forms/Grid/Documents/526howtochangethelookofacolumnsborder.htm

Let me know if you have any further concerns.

Regards,
Ragamathullah B

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.

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.

;