Reputation: 30615
Is there a way to set the width of DataGridView columns to the width of the header text label?
Upvotes: 0
Views: 29
Reputation: 333
Setting AutoSizeColumnsMode
to ColumnHeader
should be what you are looking for. Link
Upvotes: 1