13 writes to DesiredFillWidth
System.Windows.Forms (13)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (13)
629
dataGridViewColumnTmp.
DesiredFillWidth
= -1;
633
dataGridViewColumnTmp.
DesiredFillWidth
= 0;
789
dataGridViewColumnTmp.
DesiredFillWidth
= -1;
793
dataGridViewColumnTmp.
DesiredFillWidth
= 0;
1001
dataGridViewColumn.
DesiredFillWidth
= availableWidth - usedWidth;
1006
dataGridViewColumn.
DesiredFillWidth
= (int)Math.Round(desiredFillWidth, MidpointRounding.AwayFromZero);
1013
dataGridViewColumn.
DesiredFillWidth
= -1;
1068
dataGridViewColumn.
DesiredFillWidth
= dataGridViewColumn.Width;
1115
dataGridViewColumn.
DesiredFillWidth
= dataGridViewColumn.Width;
1152
mostDeservingDataGridViewColumn.
DesiredFillWidth
= Math.Min(oldDesiredWidth, (int)Math.Round(floatDesiredWidth, MidpointRounding.AwayFromZero));
1156
mostDeservingDataGridViewColumn.
DesiredFillWidth
--;
1203
mostDeservingDataGridViewColumn.
DesiredFillWidth
= Math.Max(availableWidth - usedWidth, mostDeservingDataGridViewColumn.MinimumWidth);
1220
mostDeservingDataGridViewColumn.
DesiredFillWidth
= Math.Max(mostDeservingDataGridViewColumn.MinimumWidth, (int)Math.Round(floatDesiredWidth, MidpointRounding.AwayFromZero));
20 references to DesiredFillWidth
System.Windows.Forms (20)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (20)
659
else if (dataGridViewColumnTmp.
DesiredFillWidth
== -1)
673
dataGridViewColumnTmp.
DesiredFillWidth
!= -1)
825
else if (dataGridViewColumnTmp.
DesiredFillWidth
== -1)
839
dataGridViewColumnTmp.
DesiredFillWidth
!= -1)
1007
usedWidth += dataGridViewColumn.
DesiredFillWidth
;
1010
if (dataGridViewColumn.
DesiredFillWidth
< minimumWidth)
1026
if (dataGridViewColumn.
DesiredFillWidth
== -1)
1037
if (dataGridViewColumn.
DesiredFillWidth
!= -1)
1079
if (dataGridViewColumn.
DesiredFillWidth
<= dataGridViewColumn.MinimumWidth)
1133
if (dataGridViewColumn.
DesiredFillWidth
> dataGridViewColumn.MinimumWidth)
1151
int oldDesiredWidth = mostDeservingDataGridViewColumn.
DesiredFillWidth
;
1153
changeDone = (oldDesiredWidth != mostDeservingDataGridViewColumn.
DesiredFillWidth
);
1159
Debug.Assert(oldDesiredWidth >= mostDeservingDataGridViewColumn.
DesiredFillWidth
);
1160
widthLoss -= oldDesiredWidth - mostDeservingDataGridViewColumn.
DesiredFillWidth
;
1163
stepDownAvailableWidthForFillColumns -= oldDesiredWidth - mostDeservingDataGridViewColumn.
DesiredFillWidth
;
1167
dataGridViewColumn.UsedFillWeight = weightSum / stepDownAvailableWidthForFillColumns * dataGridViewColumn.
DesiredFillWidth
;
1221
carryover = floatDesiredWidth - mostDeservingDataGridViewColumn.
DesiredFillWidth
;
1222
usedWidth += mostDeservingDataGridViewColumn.
DesiredFillWidth
;
1225
if (mostDeservingDataGridViewColumn.
DesiredFillWidth
!= mostDeservingDataGridViewColumn.Thickness)
1228
mostDeservingDataGridViewColumn.ThicknessInternal = mostDeservingDataGridViewColumn.
DesiredFillWidth
;