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.

ResizeToFit Column Header with Vertical Text

Thread ID:




50760 Oct 18,2006 10:56 AM Windows Forms 0
Tags: GridControl
Mitch Todd
Asked On October 18, 2006 10:56 AM

I'm allowing the user to resize the column header row only, and this includes the built-in auto resizing when the user double-clicks. However, some of my column headers have the following (using a Virtual Grid)...

e.Style.Font.Orientation = 270;

When auto resizing the column header, however, only the cells with normal orientation are taken into account it seems. Is this a bug, or is there a workaround to get the behavior that I expect, which is to resize to the cell with the longest vertical text?



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.