25 references to MinimumWidth
System.Windows.Forms (25)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (25)
551
Debug.Assert(dataGridViewColumn.
MinimumWidth
<= width);
559
Debug.Assert(dataGridViewColumn.
MinimumWidth
== dataGridViewColumn.Width);
588
imposedWidthSum += dataGridViewColumnTmp.
MinimumWidth
;
626
if (dataGridViewColumnTmp.FillWeight < (dataGridViewColumnTmp.
MinimumWidth
* weightSum) / (float)widthSum)
661
dataGridViewColumnTmp.UsedFillWeight = weightSum * dataGridViewColumnTmp.
MinimumWidth
/ widthSum;
676
weightSum * dataGridViewColumnTmp.
MinimumWidth
/ widthSum);
729
imposedWidthSum += dataGridViewColumnTmp.
MinimumWidth
; // Column is allowed to shrink down to its minimum
786
if (dataGridViewColumnTmp.FillWeight < (dataGridViewColumnTmp.
MinimumWidth
* weightSum) / (float)availableWidth)
827
dataGridViewColumnTmp.UsedFillWeight = weightSum * dataGridViewColumnTmp.
MinimumWidth
/ availableWidth;
842
weightSum * dataGridViewColumnTmp.
MinimumWidth
/ availableWidth);
914
requiredWidthSum += dataGridViewColumn.DesiredMinimumWidth > 0 ? dataGridViewColumn.DesiredMinimumWidth : dataGridViewColumn.
MinimumWidth
;
964
int minimumWidth = dataGridViewColumn.DesiredMinimumWidth > 0 ? dataGridViewColumn.DesiredMinimumWidth : dataGridViewColumn.
MinimumWidth
;
1009
int minimumWidth = dataGridViewColumn.DesiredMinimumWidth > 0 ? dataGridViewColumn.DesiredMinimumWidth : dataGridViewColumn.
MinimumWidth
;
1028
int minimumWidth = dataGridViewColumn.DesiredMinimumWidth > 0 ? dataGridViewColumn.DesiredMinimumWidth : dataGridViewColumn.
MinimumWidth
;
1079
if (dataGridViewColumn.DesiredFillWidth <= dataGridViewColumn.
MinimumWidth
)
1133
if (dataGridViewColumn.DesiredFillWidth > dataGridViewColumn.
MinimumWidth
)
1147
if (floatDesiredWidth < (float)mostDeservingDataGridViewColumn.
MinimumWidth
)
1149
floatDesiredWidth = (int)mostDeservingDataGridViewColumn.
MinimumWidth
;
1154
if (!changeDone && widthLoss == 1 && oldDesiredWidth > mostDeservingDataGridViewColumn.
MinimumWidth
)
1203
mostDeservingDataGridViewColumn.DesiredFillWidth = Math.Max(availableWidth - usedWidth, mostDeservingDataGridViewColumn.
MinimumWidth
);
1220
mostDeservingDataGridViewColumn.DesiredFillWidth = Math.Max(mostDeservingDataGridViewColumn.
MinimumWidth
, (int)Math.Round(floatDesiredWidth, MidpointRounding.AwayFromZero));
11386
dataGridViewColumn.ThicknessInternal = Math.Max(dataGridViewColumn.
MinimumWidth
, dataGridViewColumn.CachedThickness);
11465
dataGridViewColumn.ThicknessInternal = Math.Max(dataGridViewColumn.
MinimumWidth
, dataGridViewColumn.CachedThickness);
14865
dataGridViewColumn.ThicknessInternal = Math.Max(dataGridViewColumn.
MinimumWidth
, dataGridViewColumn.CachedThickness);
17380
dataGridViewColumn.ThicknessInternal = Math.Max(dataGridViewColumn.
MinimumWidth
, dataGridViewColumn.CachedThickness);