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

Setting default cell borders on databoundgrid

Thread ID:





17975 Aug 20,2004 02:04 PM UTC Aug 20,2004 02:30 PM UTC WinForms 1
Tags: GridControl
Patrick Noble
Asked On August 20, 2004 02:04 PM UTC

How do I set the default cell border weight on a databoundgrid to extrathin? I thought it would be through grid.tablestyle.borders.left.weight but this is read only.

Administrator [Syncfusion]
Replied On August 20, 2004 02:30 PM UTC

You need to create a new object with code like grid.Tablestyle.Borders.Left = new GridBorder(GridBorderStyle.Solid, Color.Black, GridBorderWeight.ExtraThin); // or whatever you want


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