Monday, May 14, 2012

C# WinForm 3.5 DataGridView Column Autosize Margin

I have a C# 3.5 WinForm project, and I can't find where to adjust Margin used for a DataGridView's Header AutoSize.



AutoSizeColumnsMode is set to None.
I can resize the column larger or smaller, then double click to AutoResize, and it pops to this width, using the margin illustrated by my awesome paint skills:



DataGridView Header Margin
How can I adjust the margin used?





No comments:

Post a Comment