8 writes to Thickness
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
418
Rows[rowIndex].
Thickness
= preferredThickness; // un-sharing the resized row
2324
Rows[rowIndex].
Thickness
= preferredThickness; // un-sharing the resized row
6124
Columns[_trackColumn].
Thickness
= proposed;
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (1)
375
Thickness
= value;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (2)
54
Thickness
= ScaleToCurrentDpi(DefaultWidth);
812
set =>
Thickness
= value;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
33
Thickness
= DefaultHeight;
223
Thickness
= value;
85 references to Thickness
System.Windows.Forms (85)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (69)
383
width = Columns[columnIndex].
Thickness
;
461
width = Columns[columnIndex].
Thickness
;
958
if (dataGridViewColumn.
Thickness
!= minimumWidth)
964
availableWidth += dataGridViewColumn.
Thickness
;
1236
if (mostDeservingDataGridViewColumn.DesiredFillWidth != mostDeservingDataGridViewColumn.
Thickness
)
1770
? Math.Max(preferredHeight, Columns[columnIndex].HeaderCell.GetPreferredHeight(-1, Columns[columnIndex].
Thickness
))
1835
? Math.Max(preferredHeight, Columns[columnIndexTmp].HeaderCell.GetPreferredHeight(-1, Columns[columnIndexTmp].
Thickness
))
1899
if (preferredColumnWidth != dataGridViewColumn.
Thickness
)
2976
mouseX + _mouseBarOffset - Columns[_trackColumn].
Thickness
+ 1,
2978
Columns[_trackColumn].
Thickness
,
2988
Columns[_trackColumn].
Thickness
,
4229
cx += dataGridViewColumn.
Thickness
;
4262
FirstDisplayedScrollingColumnHiddenWidth = dataGridViewColumn.
Thickness
- (cx - _horizontalOffset);
4638
cx += dataGridViewColumn.
Thickness
;
4678
while (dataGridViewColumn is not null && cx + dataGridViewColumn.
Thickness
<= displayWidth)
4680
cx += dataGridViewColumn.
Thickness
;
4684
_horizontalOffset -= dataGridViewColumn.
Thickness
;
4700
Debug.Assert(dataGridViewColumn.
Thickness
> displayWidth - cx);
4702
FirstDisplayedScrollingColumnHiddenWidth = dataGridViewColumn.
Thickness
- displayWidth + cx;
5525
cx += dataGridViewColumn.
Thickness
;
5549
cx += dataGridViewColumn.
Thickness
;
5760
mouseX += ((hti._col == -1) ? RowHeadersWidth : Columns[hti._col].
Thickness
);
6111
delta = GetColumnXFromIndex(_trackColumn) - Columns[_trackColumn].
Thickness
- newX + 1;
6116
delta = newX - (GetColumnXFromIndex(_trackColumn) + Columns[_trackColumn].
Thickness
) + 1;
6121
int proposed = Columns[_trackColumn].
Thickness
+ delta;
8229
cx -= dataGridViewColumn.
Thickness
;
8233
cx += dataGridViewColumn.
Thickness
;
8260
cx -= dataGridViewColumn.
Thickness
;
8264
cx += dataGridViewColumn.
Thickness
;
8289
int displayWidth, viewedColumnWidth = dataGridViewColumn.
Thickness
;
8343
cx -= dataGridViewColumn.
Thickness
;
8347
cx += dataGridViewColumn.
Thickness
;
8352
xColumnLeftEdge = cx - dataGridViewColumn.
Thickness
;
8357
xColumnLeftEdge = cx + dataGridViewColumn.
Thickness
;
8385
cx -= dataGridViewColumn.
Thickness
;
8389
cx += dataGridViewColumn.
Thickness
;
8394
xColumnLeftEdge = cx - dataGridViewColumn.
Thickness
;
8399
xColumnLeftEdge = cx + dataGridViewColumn.
Thickness
;
8465
x -= dataGridViewColumn.
Thickness
;
8469
x += dataGridViewColumn.
Thickness
;
8503
x -= dataGridViewColumn.
Thickness
;
8507
x += dataGridViewColumn.
Thickness
;
8525
x += dataGridViewColumn.
Thickness
;
8529
x -= dataGridViewColumn.
Thickness
;
8549
while (dataGridViewColumn is not null && dataGridViewColumn.
Thickness
<= horizontalOffset)
8551
horizontalOffset -= dataGridViewColumn.
Thickness
;
8773
newColOffset += dataGridViewColumn!.
Thickness
;
8926
newColOffset += dataGridViewColumn!.
Thickness
;
9349
int columnWidth = Columns[hti._col].
Thickness
;
9493
int columnWidth = Columns[hti._col].
Thickness
;
10561
dataGridViewColumn.CachedThickness = dataGridViewColumn.
Thickness
;
11185
dataGridViewColumn.CachedThickness = dataGridViewColumn.
Thickness
;
11194
else if (dataGridViewColumn.
Thickness
!= dataGridViewColumn.CachedThickness && previousInheritedModeAutoSized)
11264
dataGridViewColumn.CachedThickness = dataGridViewColumn.
Thickness
;
11273
else if (dataGridViewColumn.
Thickness
!= dataGridViewColumn.CachedThickness && previousInheritedModeAutoSized)
14332
if (_horizontalOffset >= dataGridViewColumn.
Thickness
)
14335
_horizontalOffset -= dataGridViewColumn.
Thickness
;
15885
mouseX += ((hti._col == -1) ? RowHeadersWidth : Columns[hti._col].
Thickness
);
15969
mouseX += ((hti._col == -1) ? RowHeadersWidth : Columns[hti._col].
Thickness
);
16121
mouseX += ((hti._col == -1) ? RowHeadersWidth : Columns[hti._col].
Thickness
);
16355
mouseX += ((hti._col == -1) ? RowHeadersWidth : Columns[hti._col].
Thickness
);
16433
mouseX += ((hti._col == -1) ? RowHeadersWidth : Columns[hti._col].
Thickness
);
17171
int newHorizontalOffset = _horizScrollBar.Maximum - _horizScrollBar.LargeChange - dataGridViewColumn.
Thickness
;
17186
Debug.Assert(_horizontalOffset >= dataGridViewColumn.
Thickness
);
17187
_horizontalOffset -= dataGridViewColumn.
Thickness
;
19354
cellBounds.Width = dataGridViewColumn.
Thickness
;
19432
cellBounds.Width = dataGridViewColumn.
Thickness
;
26191
newColOffset += dataGridViewColumn!.
Thickness
;
29182
mouseX += ((htiToUse._col == -1) ? RowHeadersWidth : Columns[htiToUse._col].
Thickness
);
System\Windows\Forms\Controls\DataGridView\DataGridViewBand.cs (2)
367
if (
Thickness
< value)
728
dataGridViewBand._thickness =
Thickness
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
2362
return new Size(OwningColumn.
Thickness
, OwningRow.GetHeight(rowIndex));
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (8)
130
CachedThickness =
Thickness
;
135
if (
Thickness
!= CachedThickness && previousInheritedModeAutoSized)
811
get =>
Thickness
;
958
preferredCellThickness = dataGridViewRow.Cells[Index].GetPreferredWidth(rowIndex, dataGridViewRow.
Thickness
);
982
preferredCellThickness = dataGridViewRow.Cells[Index].GetPreferredWidth(rowIndex, dataGridViewRow.
Thickness
);
994
cy += dataGridViewRow.
Thickness
;
1007
preferredCellThickness = dataGridViewRow.Cells[Index].GetPreferredWidth(rowIndex, dataGridViewRow.
Thickness
);
1019
cy += dataGridViewRow.
Thickness
;
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
580
columnsWidth += _items[columnIndex].
Thickness
;
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (1)
357
return new Size(OwningColumn.
Thickness
, DataGridView.ColumnHeadersHeight);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (3)
215
get =>
Thickness
;
1521
cellBounds.Width = dataGridViewColumn.
Thickness
;
1611
cellBounds.Width = dataGridViewColumn.
Thickness
;