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

Round corners for cells and ranges ?

Thread ID:





88812 Aug 12,2009 03:53 PM UTC Sep 7,2009 06:59 AM UTC WPF 3
Tags: GridControl
Asked On August 12, 2009 03:53 PM UTC

How can I have round corners for simple cells, spanned cells and cell ranges (corner radius ) ?


Clay Burch [Syncfusion]
Replied On August 13, 2009 03:29 PM UTC

There is no built-in support for rounded corner cells or range spans. It is straight-forward to hide all the cell borders in a GridControl. You can hide all borders with this code:

gridControl1.Model.TableStyle.Borders.All = null;

But in the current release, to draw the borders rounded would require that you use a custom celltype. However, in the Vol 3 refresh build that is coming out next week, there is a new event, GridControl.CellRendered event that you could use to draw rounded corners.

//remove the standard borders and subscribe to an event to draw your own.
gridControl1.Model.TableStyle.Borders.All = null;
gridControl1.CellRendered += new GridCellRenderEventHandler(gridControl1_CellRendered);

//the event handler code...
void gridControl1_CellRendered(object sender, GridCellRenderEventArgs e)
Pen p = new Pen(Brushes.Black, .3);
e.DrawingContext.DrawRoundedRectangle(null, p, e.RenderCellArgs.CellRect, 5, 5);

Replied On August 25, 2009 10:44 AM UTC


Appearently Volume 3 is still in evaluation version. The latest version on Syncfusion site seems the

When is the Volume 3 will be disponible for use ?



Mohamed Suhaib Fahad A. [Syncfusion]
Replied On September 7, 2009 06:59 AM UTC

Hi Nazim,

The latest is a full release version for use, If you want to use the full version without the evaluation then you would have to contact your sales manager. Please mail to support@syncfusion.com for further queries on licensing.

Grid.WPF Team
Syncfusion Inc.,


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