DataGridView.AutoResizeColumn Method (2007 System)
Include Protected Members
Include Inherited Members
Adjusts the width of the specified column to fit the contents of its cells.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
Overload List
Name
Description
Adjusts the width of the specified column to fit the contents of all its cells, including the header cell. (Inherited from DataGridView.)
AutoResizeColumn(Int32, DataGridViewAutoSizeColumnMode)
Adjusts the width of the specified column using the specified size mode. (Inherited from DataGridView.)
AutoResizeColumn(Int32, DataGridViewAutoSizeColumnMode, Boolean)
Adjusts the width of the specified column using the specified size mode, optionally calculating the width with the expectation that row heights will subsequently be adjusted. (Inherited from DataGridView.)
Top