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. Image for the cookie policy date

Cell Range Borders

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.


1 Reply

AG Anish George Syncfusion Team 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.




Live Chat Icon For mobile
Up arrow icon