SqlEditor MaxColumnWidth Property CleanCode C# Libraries v1.2.03 API
Gets or sets the maximum width of DataGridView columns when automatically adjusting to fit the data.

Namespace: CleanCode.SqlEditorControls
Assembly: CleanCode.SqlEditorControls (in CleanCode.SqlEditorControls.dll) Version: (1.2.03)

public int MaxColumnWidth { get; set; }

Field Value

The maximum width of columns.

The ExtendedDataGridView provides a mechanism to adjust column widths to either the headers or to the data. Since columns in the data could be arbitrarily long the MaxColumnWidth lets you limit the columns to grow no larger than the set value.
See Also