2 writes to RowHeadersWidth
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (2)
6334
this.
RowHeadersWidth
+= delta;
18747
this.
RowHeadersWidth
= this.cachedRowHeadersWidth;
26 references to RowHeadersWidth
System.Windows.Forms (26)
winforms\Managed\System\WinForms\DataGridView.cs (2)
4372
defaultRowHeadersWidth != this.
RowHeadersWidth
;
5163
Invalidate(new Rectangle(this.layout.Inside.X, this.layout.Inside.Y, this.
RowHeadersWidth
, this.ColumnHeadersHeight));
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
3137
else if ((rowIndex != -1 && this.OwningRow != null && this.DataGridView.RowHeadersVisible && this.DataGridView.
RowHeadersWidth
> 0 && this.OwningColumn == null) ||
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (2)
467
return new Size(this.DataGridView.
RowHeadersWidth
, this.OwningRow.GetHeight(rowIndex));
476
return new Size(this.DataGridView.
RowHeadersWidth
, this.DataGridView.ColumnHeadersHeight);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (17)
402
Debug.Assert(this.
RowHeadersWidth
> 0);
404
width = this.
RowHeadersWidth
;
480
Debug.Assert(this.
RowHeadersWidth
> 0);
482
width = this.
RowHeadersWidth
;
2111
if (preferredWidth != this.
RowHeadersWidth
)
2284
if (preferredWidth != this.
RowHeadersWidth
)
5824
mouseX += ((hti.col == -1) ? this.
RowHeadersWidth
: this.Columns[hti.col].Thickness);
6325
delta = this.layout.RowHeaders.Right - this.
RowHeadersWidth
- x - 1;
6330
delta = x - this.layout.RowHeaders.X - this.
RowHeadersWidth
+ 1;
9078
minimumWidth += this.
RowHeadersWidth
;
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);
18739
this.cachedRowHeadersWidth = this.
RowHeadersWidth
;
29226
mouseX += ((htiToUse.col == -1) ? this.
RowHeadersWidth
: this.Columns[htiToUse.col].Thickness);
winforms\Managed\System\WinForms\DataGridViewRow.cs (3)
1408
preferredRowThickness = Math.Max(preferredRowThickness, this.HeaderCell.GetPreferredHeight(rowIndex, this.DataGridView.
RowHeadersWidth
));
1606
int cx = (dataGridView.RowHeadersVisible ? dataGridView.
RowHeadersWidth
: 0);
1798
cellBounds.Width = dataGridView.
RowHeadersWidth
;
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1219
rowRect.Width = this.Owner.DataGridView.
RowHeadersWidth
;