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.

Can I set border styles in GridQueryCellInfo handler?

Thread ID:





6319 Aug 8,2003 09:05 AM Aug 8,2003 09:31 AM Windows Forms 3
Tags: GridControl
Andy Kay
Asked On August 8, 2003 09:05 AM

I'm trying to set a border style inside a GridQueryCellInfo handler by doing something like: style.Borders.Left = new sfGrid.GridBorder (sfGrid.GridBorderStyle.Standard, System.Drawing.Color.Black, sfGrid.GridBorderWeight.Thick); But it's not working. What am I doing wrong?

Andy Kay
Replied On August 8, 2003 09:17 AM

I should point out that sfGrid is: using sfGrid = Syncfusion.Windows.Forms.Grid;

Administrator [Syncfusion]
Replied On August 8, 2003 09:29 AM

You can only apply thichnesses to solid borders. So try: style.Borders.Left = new GridBorder(GridBorderStyle.Solid, Color.Blue, GridBorderWeight.Thick);

Andy Kay
Replied On August 8, 2003 09:31 AM

Thanks, Clay.


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.