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

Cell Range Borders

Thread ID:





115878 Feb 17,2014 02:19 PM UTC Feb 26,2014 09:16 AM UTC WinForms 1
Tags: GridControl
Dib Oglesby
Asked On February 17, 2014 02:19 PM UTC

Anyone know how to set a border around the cells in a range of cells in a grid control?  I don't want to set the border of each individual cell within a range, but rather a border around the entire range.


Anish George [Syncfusion]
Replied On February 26, 2014 09:16 AM UTC

Hi Dib,


Thank you for using Syncfusion products.


We would like to let you know that you can use the CoveredRanges option and can merge the required range of cells and then you can apply the border to it. Please refer the below code snippet.




this.gridControl1[2, 2].Borders.All = new GridBorder(GridBorderStyle.Solid, Color.Red, GridBorderWeight.Thin);


Please let us know if you need any further assistance.





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

or the page will be automatically redirected to 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