Sets the column widths to either fit the headers or fit the data.
Namespace: CleanCode.DataGridViewControlsAssembly: CleanCode.DataGridViewControls (in CleanCode.DataGridViewControls.dll) Version: 1.2.3.0 (1.2.03)
public void SetColumnWidths()
public void SetColumnWidths()
Public Sub SetColumnWidths
Public Sub SetColumnWidths
public:
void SetColumnWidths()
public:
void SetColumnWidths()
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.