36 references to FillWeight
System.Windows.Forms (36)
winforms\Managed\System\WinForms\DataGridViewColumn.cs (1)
1139
dataGridViewColumn.FillWeightInternal = this.
FillWeight
;
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
648
weightSum += ((DataGridViewColumn)this.items[columnIndex]).
FillWeight
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (34)
591
weightSum += dataGridViewColumnTmp.
FillWeight
;
615
float oldWeight = dataGridViewColumn.
FillWeight
;
624
dataGridViewColumnTmp.FillWeightInternal = (weightSum - newWeight) * dataGridViewColumnTmp.
FillWeight
/ (weightSum - oldWeight);
626
if (dataGridViewColumnTmp.
FillWeight
< (dataGridViewColumnTmp.MinimumWidth * weightSum) / (float)widthSum)
654
dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.
FillWeight
;
656
weightSumNoneMinimal -= dataGridViewColumnTmp.
FillWeight
;
663
weightSumNoneMinimal -= dataGridViewColumnTmp.
FillWeight
;
675
dataGridViewColumnTmp.UsedFillWeight = Math.Max(dataGridViewColumnTmp.
FillWeight
* usedWeightSumNoneMinimal / weightSumNoneMinimal,
691
dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.
FillWeight
;
730
oldWeightSum += dataGridViewColumnTmp.
FillWeight
;
739
weightSum += dataGridViewColumnTmp.
FillWeight
;
763
float oldWeight = dataGridViewColumn.
FillWeight
;
774
dataGridViewColumnTmp.FillWeightInternal = dataGridViewColumnTmp.
FillWeight
* newWeightSum / oldWeightSum;
786
if (dataGridViewColumnTmp.
FillWeight
< (dataGridViewColumnTmp.MinimumWidth * weightSum) / (float)availableWidth)
815
dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.
FillWeight
;
822
weightSumNoneMinimal -= dataGridViewColumnTmp.
FillWeight
;
829
weightSumNoneMinimal -= dataGridViewColumnTmp.
FillWeight
;
841
dataGridViewColumnTmp.UsedFillWeight = Math.Max(dataGridViewColumnTmp.
FillWeight
* usedWeightSumNoneMinimal / weightSumNoneMinimal,
857
dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.
FillWeight
;
915
weightSum += dataGridViewColumn.
FillWeight
;
1005
float desiredFillWidth = (dataGridViewColumn.
FillWeight
/ weightSum) * availableWidth;
1031
weightSumNoneMinimal -= dataGridViewColumn.
FillWeight
;
1039
dataGridViewColumn.UsedFillWeight = dataGridViewColumn.
FillWeight
* usedWeightSumNoneMinimal / weightSumNoneMinimal;
1050
dataGridViewColumn.UsedFillWeight = dataGridViewColumn.
FillWeight
;
1078
fillWeightRatioSum += dataGridViewColumn.
FillWeight
/ dataGridViewColumn.UsedFillWeight;
1093
floatDesiredWidths[columnEntry] += dataGridViewColumn.
FillWeight
/ dataGridViewColumn.UsedFillWeight / fillWeightRatioSum;
1097
floatDesiredWidths[columnEntry] += dataGridViewColumn.
FillWeight
/ weightSum;
1135
fillWeightRatio = dataGridViewColumn.UsedFillWeight / dataGridViewColumn.
FillWeight
;
1146
float floatDesiredWidth = (stepDownAvailableWidthForFillColumns * mostDeservingDataGridViewColumn.UsedFillWeight / weightSum) - widthLoss * mostDeservingDataGridViewColumn.UsedFillWeight / mostDeservingDataGridViewColumn.
FillWeight
/ fillWeightRatioSum;
1212
weightDiscrepancy = Math.Abs(dataGridViewColumn.UsedFillWeight - dataGridViewColumn.
FillWeight
) / dataGridViewColumn.
FillWeight
;
10932
float weightSum = this.Columns.GetColumnsFillWeight(DataGridViewElementStates.None) + dataGridViewColumn.
FillWeight
;
11054
weightSum += dataGridViewColumn.
FillWeight
;
13994
float weightSum = this.Columns.GetColumnsFillWeight(DataGridViewElementStates.None) - dataGridViewColumn.
FillWeight
+ fillWeight;