Gets or sets the maximum width of DataGridView columns
when automatically adjusting to fit the data.
Namespace: CleanCode.SqlEditorControlsAssembly: CleanCode.SqlEditorControls (in CleanCode.SqlEditorControls.dll) Version: 1.2.3.0 (1.2.03)
public int MaxColumnWidth { get; set; }
public int MaxColumnWidth { get; set; }
Public Property MaxColumnWidth As Integer
Get
Set
Public Property MaxColumnWidth As Integer
Get
Set
public:
property int MaxColumnWidth {
int get ();
void set (int value);
}
public:
property int MaxColumnWidth {
int get ();
void set (int value);
}
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.