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.

Center heading over column in datagrid?

Thread ID:




1211 Oct 3,2002 06:24 PM Windows Forms 0
Tags: FAQ
Bill Dimes
Asked On October 3, 2002 06:24 PM

I'm sure I've overlooked this... but, what's the trick to centering column header text over a column in a datagrid. I add my table style, then add my columns to it and add it to the grid. The columns have an alignment property that controls the data area of the grid, but the header text doesn't center. Ideas? Thanks in advance.


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.