2 writes to FillWeight
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
312
destColumn.
FillWeight
= srcColumn.FillWeight;
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataGridViewColumnCollectionTests.cs (1)
471
FillWeight
= ushort.MaxValue - 99
39 references to FillWeight
System.Windows.Forms (36)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (34)
578
weightSum += dataGridViewColumnTmp.
FillWeight
;
602
float oldWeight = dataGridViewColumn.
FillWeight
;
611
dataGridViewColumnTmp.FillWeightInternal = (weightSum - newWeight) * dataGridViewColumnTmp.
FillWeight
/ (weightSum - oldWeight);
613
if (dataGridViewColumnTmp.
FillWeight
< (dataGridViewColumnTmp.MinimumWidth * weightSum) / widthSum)
641
dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.
FillWeight
;
643
weightSumNoneMinimal -= dataGridViewColumnTmp.
FillWeight
;
650
weightSumNoneMinimal -= dataGridViewColumnTmp.
FillWeight
;
664
dataGridViewColumnTmp.
FillWeight
* usedWeightSumNoneMinimal / weightSumNoneMinimal,
681
dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.
FillWeight
;
721
oldWeightSum += dataGridViewColumnTmp.
FillWeight
;
732
weightSum += dataGridViewColumnTmp.
FillWeight
;
756
float oldWeight = dataGridViewColumn.
FillWeight
;
767
dataGridViewColumnTmp.FillWeightInternal = dataGridViewColumnTmp.
FillWeight
* newWeightSum / oldWeightSum;
779
if (dataGridViewColumnTmp.
FillWeight
< (dataGridViewColumnTmp.MinimumWidth * weightSum) / availableWidth)
807
? dataGridViewColumnTmp.
FillWeight
811
weightSumNoneMinimal -= dataGridViewColumnTmp.
FillWeight
;
818
weightSumNoneMinimal -= dataGridViewColumnTmp.
FillWeight
;
831
dataGridViewColumnTmp.UsedFillWeight = Math.Max(dataGridViewColumnTmp.
FillWeight
* usedWeightSumNoneMinimal / weightSumNoneMinimal,
848
dataGridViewColumnTmp.UsedFillWeight = dataGridViewColumnTmp.
FillWeight
;
911
weightSum += dataGridViewColumn.
FillWeight
;
1003
float desiredFillWidth = (dataGridViewColumn.
FillWeight
/ weightSum) * availableWidth;
1030
weightSumNoneMinimal -= dataGridViewColumn.
FillWeight
;
1039
dataGridViewColumn.UsedFillWeight = dataGridViewColumn.
FillWeight
* usedWeightSumNoneMinimal / weightSumNoneMinimal;
1050
dataGridViewColumn.UsedFillWeight = dataGridViewColumn.
FillWeight
;
1079
fillWeightRatioSum += dataGridViewColumn.
FillWeight
/ dataGridViewColumn.UsedFillWeight;
1096
floatDesiredWidths[columnEntry] += dataGridViewColumn.
FillWeight
/ dataGridViewColumn.UsedFillWeight / fillWeightRatioSum;
1100
floatDesiredWidths[columnEntry] += dataGridViewColumn.
FillWeight
/ weightSum;
1140
fillWeightRatio = dataGridViewColumn.UsedFillWeight / dataGridViewColumn.
FillWeight
;
1152
float floatDesiredWidth = (stepDownAvailableWidthForFillColumns * mostDeservingDataGridViewColumn.UsedFillWeight / weightSum) - widthLoss * mostDeservingDataGridViewColumn.UsedFillWeight / mostDeservingDataGridViewColumn.
FillWeight
/ fillWeightRatioSum;
1222
weightDiscrepancy = Math.Abs(dataGridViewColumn.UsedFillWeight - dataGridViewColumn.
FillWeight
) / dataGridViewColumn.
FillWeight
;
10780
float weightSum = Columns.GetColumnsFillWeight(DataGridViewElementStates.None) + dataGridViewColumn.
FillWeight
;
10911
weightSum += dataGridViewColumn.
FillWeight
;
13517
float weightSum = Columns.GetColumnsFillWeight(DataGridViewElementStates.None) - dataGridViewColumn.
FillWeight
+ fillWeight;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (1)
838
dataGridViewColumn.FillWeightInternal =
FillWeight
;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
541
weightSum += _items[columnIndex].
FillWeight
;
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
312
destColumn.FillWeight = srcColumn.
FillWeight
;
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataGridViewColumnTests.cs (2)
26
Assert.Equal(100, column.
FillWeight
);
77
Assert.Equal(100, column.
FillWeight
);