17 writes to UsedFillWeight
System.Windows.Forms (17)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (17)
654dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.FillWeight; 661dataGridViewColumnTmp.UsedFillWeight = weightSum * dataGridViewColumnTmp.MinimumWidth / widthSum; 675dataGridViewColumnTmp.UsedFillWeight = Math.Max(dataGridViewColumnTmp.FillWeight * usedWeightSumNoneMinimal / weightSumNoneMinimal, 680dataGridViewColumn.UsedFillWeight += weightSum - usedFillWeights; 691dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.FillWeight; 815dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.FillWeight; 819dataGridViewColumnTmp.UsedFillWeight = weightSum * dataGridViewColumnTmp.Width / availableWidth; 827dataGridViewColumnTmp.UsedFillWeight = weightSum * dataGridViewColumnTmp.MinimumWidth / availableWidth; 841dataGridViewColumnTmp.UsedFillWeight = Math.Max(dataGridViewColumnTmp.FillWeight * usedWeightSumNoneMinimal / weightSumNoneMinimal, 846dataGridViewColumn.UsedFillWeight += weightSum - usedFillWeights; 857dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.FillWeight; 978dataGridViewColumn.UsedFillWeight = dataGridViewColumn.Width * weightSum / availableWidth; 1029dataGridViewColumn.UsedFillWeight = weightSum * minimumWidth / availableWidth; 1039dataGridViewColumn.UsedFillWeight = dataGridViewColumn.FillWeight * usedWeightSumNoneMinimal / weightSumNoneMinimal; 1050dataGridViewColumn.UsedFillWeight = dataGridViewColumn.FillWeight; 1104dataGridViewColumn.UsedFillWeight = weightSum / availableWidth * floatDesiredWidths[columnEntry]; 1167dataGridViewColumn.UsedFillWeight = weightSum / stepDownAvailableWidthForFillColumns * dataGridViewColumn.DesiredFillWidth;
19 references to UsedFillWeight
System.Windows.Forms (19)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (19)
655usedWeightSumNoneMinimal -= dataGridViewColumnTmp.UsedFillWeight; 657usedFillWeights += dataGridViewColumnTmp.UsedFillWeight; 662usedWeightSumNoneMinimal -= dataGridViewColumnTmp.UsedFillWeight; 664usedFillWeights += dataGridViewColumnTmp.UsedFillWeight; 677usedFillWeights += dataGridViewColumnTmp.UsedFillWeight; 821usedWeightSumNoneMinimal -= dataGridViewColumnTmp.UsedFillWeight; 823usedFillWeights += dataGridViewColumnTmp.UsedFillWeight; 828usedWeightSumNoneMinimal -= dataGridViewColumnTmp.UsedFillWeight; 830usedFillWeights += dataGridViewColumnTmp.UsedFillWeight; 843usedFillWeights += dataGridViewColumnTmp.UsedFillWeight; 1030usedWeightSumNoneMinimal -= dataGridViewColumn.UsedFillWeight; 1078fillWeightRatioSum += dataGridViewColumn.FillWeight / dataGridViewColumn.UsedFillWeight; 1089floatDesiredWidths[columnEntry] = this.availableWidthForFillColumns * dataGridViewColumn.UsedFillWeight / weightSum; 1093floatDesiredWidths[columnEntry] += dataGridViewColumn.FillWeight / dataGridViewColumn.UsedFillWeight / fillWeightRatioSum; 1135fillWeightRatio = dataGridViewColumn.UsedFillWeight / dataGridViewColumn.FillWeight; 1146float floatDesiredWidth = (stepDownAvailableWidthForFillColumns * mostDeservingDataGridViewColumn.UsedFillWeight / weightSum) - widthLoss * mostDeservingDataGridViewColumn.UsedFillWeight / mostDeservingDataGridViewColumn.FillWeight / fillWeightRatioSum; 1212weightDiscrepancy = Math.Abs(dataGridViewColumn.UsedFillWeight - dataGridViewColumn.FillWeight) / dataGridViewColumn.FillWeight; 1219float floatDesiredWidth = (mostDeservingDataGridViewColumn.UsedFillWeight * availableWidth / weightSum) + carryover;