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

Horizontal and Vertical Grid line color

Thread ID:





104787 Aug 17,2012 06:33 AM UTC Aug 23,2012 05:21 AM UTC WinForms 1
Tags: GridControl
Asked On August 17, 2012 06:33 AM UTC


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?


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

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.



Let me know if you have any further concerns.

Ragamathullah B


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

Live Chat Icon For mobile
Live Chat Icon