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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Double Underline Style

Thread ID:





13387 Apr 27,2004 06:42 PM UTC Jun 30,2006 10:35 PM UTC WinForms 3
Tags: GridControl
Asked On April 27, 2004 06:42 PM UTC

Hello, Does the EssentialGrid support the double underline (Accounting) style? If so, how do I access it? Thanks, Andrew

Administrator [Syncfusion]
Replied On April 27, 2004 08:32 PM UTC

No, we don''t have support for double underline style. One idea to get that working would be to instead draw your own border for a cell. To do that, you first need to allocate how much space you need with the GridStyleInfo.BorderMargins property. Then in the CellDrawn event you can draw the double underline for the cell. Another event that might also work is the DrawCellFrameAppearance as shown in the CustomBorders example. You could use the .Tag property of GridStyleInfo to indicate whether a double underline border should be drawn or not. The GridStyleInfo.BorderMargins property could be set in PrepareViewStyleInfo after checking if the .Tag for double underline has been set or not. Stefan

Leow Kah Man
Replied On June 29, 2006 08:56 AM UTC

Can the SF team please introduce this into the next version of GridControl? The clients would love this. Thanks in advanced.

Administrator [Syncfusion]
Replied On June 30, 2006 10:35 PM UTC

Hi Leow, I have created the sample as per your requirement. The attached sample implements Double Underline (Account) style in a grid. Please refer this sample for more details. Kindly provide us more details, if your requirement is different. Sample. GriddoubleUnderline.zip Best Regards, Haneef


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