ExtendedDataGridView SetColumnWidths Method CleanCode C# Libraries v1.2.03 API
Sets the column widths to either fit the headers or fit the data.

Namespace: CleanCode.DataGridViewControls
Assembly: CleanCode.DataGridViewControls (in CleanCode.DataGridViewControls.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public void SetColumnWidths()
Remarks

Each call to this toggles the setting. When fitting to the data, you may set the maximum width of columns via the MaxColumnWidth property. Setting it to zero suppresses any limit.
See Also