16 writes to UsedFillWeight
System.Windows.Forms (16)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (16)
641
dataGridViewColumnTmp.
UsedFillWeight
= dataGridViewColumnTmp.FillWeight;
648
dataGridViewColumnTmp.
UsedFillWeight
= weightSum * dataGridViewColumnTmp.MinimumWidth / widthSum;
663
dataGridViewColumnTmp.
UsedFillWeight
= Math.Max(
670
dataGridViewColumn.
UsedFillWeight
+= weightSum - usedFillWeights;
681
dataGridViewColumnTmp.
UsedFillWeight
= dataGridViewColumnTmp.FillWeight;
806
dataGridViewColumnTmp.
UsedFillWeight
= dataGridViewColumnTmp.Index == dataGridViewColumn.Index
816
dataGridViewColumnTmp.
UsedFillWeight
= weightSum * dataGridViewColumnTmp.MinimumWidth / availableWidth;
831
dataGridViewColumnTmp.
UsedFillWeight
= Math.Max(dataGridViewColumnTmp.FillWeight * usedWeightSumNoneMinimal / weightSumNoneMinimal,
837
dataGridViewColumn.
UsedFillWeight
+= weightSum - usedFillWeights;
848
dataGridViewColumnTmp.
UsedFillWeight
= dataGridViewColumnTmp.FillWeight;
974
dataGridViewColumn.
UsedFillWeight
= dataGridViewColumn.Width * weightSum / availableWidth;
1028
dataGridViewColumn.
UsedFillWeight
= weightSum * minimumWidth / availableWidth;
1039
dataGridViewColumn.
UsedFillWeight
= dataGridViewColumn.FillWeight * usedWeightSumNoneMinimal / weightSumNoneMinimal;
1050
dataGridViewColumn.
UsedFillWeight
= dataGridViewColumn.FillWeight;
1108
dataGridViewColumn.
UsedFillWeight
= weightSum / availableWidth * floatDesiredWidths[columnEntry];
1175
dataGridViewColumn.
UsedFillWeight
= weightSum / stepDownAvailableWidthForFillColumns * dataGridViewColumn.DesiredFillWidth;
23 references to UsedFillWeight
System.Windows.Forms (23)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (23)
642
usedWeightSumNoneMinimal -= dataGridViewColumnTmp.
UsedFillWeight
;
644
usedFillWeights += dataGridViewColumnTmp.
UsedFillWeight
;
649
usedWeightSumNoneMinimal -= dataGridViewColumnTmp.
UsedFillWeight
;
651
usedFillWeights += dataGridViewColumnTmp.
UsedFillWeight
;
666
usedFillWeights += dataGridViewColumnTmp.
UsedFillWeight
;
692
weightSumDbg += dataGridViewColumnTmp.
UsedFillWeight
;
810
usedWeightSumNoneMinimal -= dataGridViewColumnTmp.
UsedFillWeight
;
812
usedFillWeights += dataGridViewColumnTmp.
UsedFillWeight
;
817
usedWeightSumNoneMinimal -= dataGridViewColumnTmp.
UsedFillWeight
;
819
usedFillWeights += dataGridViewColumnTmp.
UsedFillWeight
;
833
usedFillWeights += dataGridViewColumnTmp.
UsedFillWeight
;
859
weightSumDbg += dataGridViewColumnTmp.
UsedFillWeight
;
1029
usedWeightSumNoneMinimal -= dataGridViewColumn.
UsedFillWeight
;
1079
fillWeightRatioSum += dataGridViewColumn.FillWeight / dataGridViewColumn.
UsedFillWeight
;
1091
floatDesiredWidths[columnEntry] = _availableWidthForFillColumns * dataGridViewColumn.
UsedFillWeight
/ weightSum;
1096
floatDesiredWidths[columnEntry] += dataGridViewColumn.FillWeight / dataGridViewColumn.
UsedFillWeight
/ fillWeightRatioSum;
1140
fillWeightRatio = dataGridViewColumn.
UsedFillWeight
/ dataGridViewColumn.FillWeight;
1152
float floatDesiredWidth = (stepDownAvailableWidthForFillColumns * mostDeservingDataGridViewColumn.
UsedFillWeight
/ weightSum) - widthLoss * mostDeservingDataGridViewColumn.
UsedFillWeight
/ mostDeservingDataGridViewColumn.FillWeight / fillWeightRatioSum;
1195
weightSumDbg += dataGridViewColumn.
UsedFillWeight
;
1222
weightDiscrepancy = Math.Abs(dataGridViewColumn.
UsedFillWeight
- dataGridViewColumn.FillWeight) / dataGridViewColumn.FillWeight;
1230
float floatDesiredWidth = (mostDeservingDataGridViewColumn!.
UsedFillWeight
* availableWidth / weightSum) + carryover;
1257
Debug.Assert(Math.Abs(dataGridViewColumnTmp.
UsedFillWeight
* _availableWidthForFillColumns - weightSum * dataGridViewColumnTmp.Width) / weightSum / dataGridViewColumnTmp.Width <= 1.25F / dataGridViewColumnTmp.Width);