8 writes to Thickness
System.Windows.Forms (8)
winforms\Managed\System\WinForms\DataGridViewBand.cs (1)
518
this.
Thickness
= value;
winforms\Managed\System\WinForms\DataGridViewColumn.cs (2)
72
this.
Thickness
= ScaleToCurrentDpi(DATAGRIDVIEWCOLUMN_defaultWidth);
1096
this.
Thickness
= value;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
430
this.Rows[rowIndex].
Thickness
= preferredThickness; // unsharing the resized row
2344
this.Rows[rowIndex].
Thickness
= preferredThickness; // unsharing the resized row
6164
this.Columns[this.trackColumn].
Thickness
= proposed;
winforms\Managed\System\WinForms\DataGridViewRow.cs (2)
47
this.
Thickness
= Control.DefaultFont.Height + 9;
300
this.
Thickness
= value;
85 references to Thickness
System.Windows.Forms (85)
winforms\Managed\System\WinForms\DataGridViewBand.cs (2)
511
if (this.
Thickness
< value)
912
dataGridViewBand.thickness = this.
Thickness
;
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
2650
return new Size(this.owningColumn.
Thickness
, this.owningRow.GetHeight(rowIndex));
winforms\Managed\System\WinForms\DataGridViewColumn.cs (8)
152
this.CachedThickness = this.
Thickness
;
157
if (this.
Thickness
!= this.CachedThickness && previousInheritedModeAutoSized)
1092
return this.
Thickness
;
1269
preferredCellThickness = dataGridViewRow.Cells[this.Index].GetPreferredWidth(rowIndex, dataGridViewRow.
Thickness
);
1292
preferredCellThickness = dataGridViewRow.Cells[this.Index].GetPreferredWidth(rowIndex, dataGridViewRow.
Thickness
);
1302
cy += dataGridViewRow.
Thickness
;
1315
preferredCellThickness = dataGridViewRow.Cells[this.Index].GetPreferredWidth(rowIndex, dataGridViewRow.
Thickness
);
1325
cy += dataGridViewRow.
Thickness
;
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (1)
686
columnsWidth += ((DataGridViewColumn) this.items[columnIndex]).
Thickness
;
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
454
return new Size(this.OwningColumn.
Thickness
, this.DataGridView.ColumnHeadersHeight);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (69)
392
width = this.Columns[columnIndex].
Thickness
;
470
width = this.Columns[columnIndex].
Thickness
;
965
if (dataGridViewColumn.
Thickness
!= minimumWidth)
970
availableWidth += dataGridViewColumn.
Thickness
;
1225
if (mostDeservingDataGridViewColumn.DesiredFillWidth != mostDeservingDataGridViewColumn.
Thickness
)
1759
preferredHeight = Math.Max(preferredHeight, this.Columns[columnIndex].HeaderCell.GetPreferredHeight(-1, this.Columns[columnIndex].
Thickness
));
1832
preferredHeight = Math.Max(preferredHeight, this.Columns[columnIndexTmp].HeaderCell.GetPreferredHeight(-1, this.Columns[columnIndexTmp].
Thickness
));
1895
if (preferredColumnWidth != dataGridViewColumn.
Thickness
)
3022
r = new Rectangle(mouseX + this.mouseBarOffset - this.Columns[this.trackColumn].
Thickness
+ 1,
3024
this.Columns[this.trackColumn].
Thickness
,
3031
r = new Rectangle(mouseX + this.mouseBarOffset - 1, inside.Y, this.Columns[this.trackColumn].
Thickness
, inside.Height);
4206
cx += dataGridViewColumn.
Thickness
;
4236
this.negOffset = dataGridViewColumn.
Thickness
- (cx - this.horizontalOffset);
4627
cx += dataGridViewColumn.
Thickness
;
4664
while (dataGridViewColumn != null && cx + dataGridViewColumn.
Thickness
<= displayWidth)
4666
cx += dataGridViewColumn.
Thickness
;
4670
this.horizontalOffset -= dataGridViewColumn.
Thickness
;
4684
Debug.Assert(dataGridViewColumn.
Thickness
> displayWidth - cx);
4686
this.negOffset = dataGridViewColumn.
Thickness
- displayWidth + cx;
5537
cx += dataGridViewColumn.
Thickness
;
5560
cx += dataGridViewColumn.
Thickness
;
5824
mouseX += ((hti.col == -1) ? this.RowHeadersWidth : this.Columns[hti.col].
Thickness
);
6151
delta = GetColumnXFromIndex(this.trackColumn) - this.Columns[this.trackColumn].
Thickness
- newX + 1;
6156
delta = newX - (GetColumnXFromIndex(this.trackColumn) + this.Columns[this.trackColumn].
Thickness
) + 1;
6161
int proposed = this.Columns[this.trackColumn].
Thickness
+ delta;
8291
cx -= dataGridViewColumn.
Thickness
;
8295
cx += dataGridViewColumn.
Thickness
;
8322
cx -= dataGridViewColumn.
Thickness
;
8326
cx += dataGridViewColumn.
Thickness
;
8349
int displayWidth, viewedColumnWidth = dataGridViewColumn.
Thickness
;
8426
cx -= dataGridViewColumn.
Thickness
;
8430
cx += dataGridViewColumn.
Thickness
;
8434
xColumnLeftEdge = cx - dataGridViewColumn.
Thickness
;
8439
xColumnLeftEdge = cx + dataGridViewColumn.
Thickness
;
8466
cx -= dataGridViewColumn.
Thickness
;
8470
cx += dataGridViewColumn.
Thickness
;
8474
xColumnLeftEdge = cx - dataGridViewColumn.
Thickness
;
8479
xColumnLeftEdge = cx + dataGridViewColumn.
Thickness
;
8547
x -= dataGridViewColumn.
Thickness
;
8551
x += dataGridViewColumn.
Thickness
;
8587
x -= dataGridViewColumn.
Thickness
;
8591
x += dataGridViewColumn.
Thickness
;
8608
x += dataGridViewColumn.
Thickness
;
8612
x -= dataGridViewColumn.
Thickness
;
8630
while (dataGridViewColumn != null && dataGridViewColumn.
Thickness
<= horizontalOffset)
8632
horizontalOffset -= dataGridViewColumn.
Thickness
;
8852
newColOffset += dataGridViewColumn.
Thickness
;
9004
newColOffset += dataGridViewColumn.
Thickness
;
9454
int columnWidth = this.Columns[hti.col].
Thickness
;
9636
int columnWidth = this.Columns[hti.col].
Thickness
;
10743
dataGridViewColumn.CachedThickness = dataGridViewColumn.
Thickness
;
11376
dataGridViewColumn.CachedThickness = dataGridViewColumn.
Thickness
;
11383
else if (dataGridViewColumn.
Thickness
!= dataGridViewColumn.CachedThickness && previousInheritedModeAutoSized)
11455
dataGridViewColumn.CachedThickness = dataGridViewColumn.
Thickness
;
11462
else if (dataGridViewColumn.
Thickness
!= dataGridViewColumn.CachedThickness && previousInheritedModeAutoSized)
14804
if (this.horizontalOffset >= dataGridViewColumn.
Thickness
)
14807
this.horizontalOffset -= dataGridViewColumn.
Thickness
;
16342
mouseX += ((hti.col == -1) ? this.RowHeadersWidth : this.Columns[hti.col].
Thickness
);
16422
mouseX += ((hti.col == -1) ? this.RowHeadersWidth : this.Columns[hti.col].
Thickness
);
16546
mouseX += ((hti.col == -1) ? this.RowHeadersWidth : this.Columns[hti.col].
Thickness
);
16802
mouseX += ((hti.col == -1) ? this.RowHeadersWidth : this.Columns[hti.col].
Thickness
);
16876
mouseX += ((hti.col == -1) ? this.RowHeadersWidth : this.Columns[hti.col].
Thickness
);
17626
int newHorizontalOffset = this.horizScrollBar.Maximum - this.horizScrollBar.LargeChange - dataGridViewColumn.
Thickness
;
17641
Debug.Assert(this.horizontalOffset >= dataGridViewColumn.
Thickness
);
17642
this.horizontalOffset -= dataGridViewColumn.
Thickness
;
19907
cellBounds.Width = dataGridViewColumn.
Thickness
;
19984
cellBounds.Width = dataGridViewColumn.
Thickness
;
26301
newColOffset += dataGridViewColumn.
Thickness
;
29226
mouseX += ((htiToUse.col == -1) ? this.RowHeadersWidth : this.Columns[htiToUse.col].
Thickness
);
winforms\Managed\System\WinForms\DataGridViewRow.cs (3)
292
return this.
Thickness
;
1619
cellBounds.Width = dataGridViewColumn.
Thickness
;
1706
cellBounds.Width = dataGridViewColumn.
Thickness
;