14 writes to negOffset
System.Windows.Forms (14)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (14)
4191
this.
negOffset
= 0;
4199
this.
negOffset
= 0;
4222
this.
negOffset
= 0;
4229
this.
negOffset
= 0;
4236
this.
negOffset
= dataGridViewColumn.Thickness - (cx - this.horizontalOffset);
4608
this.
negOffset
= 0;
4648
this.
negOffset
= 0;
4653
this.
negOffset
-= displayWidth - cx;
4686
this.
negOffset
= dataGridViewColumn.Thickness - displayWidth + cx;
14811
this.horizontalOffset = this.
negOffset
= 0;
14817
this.horizontalOffset = this.
negOffset
= 0;
17619
this.
negOffset
= 0;
17630
this.
negOffset
= GetNegOffsetFromHorizontalOffset(this.horizontalOffset);
17635
this.horizontalOffset = this.
negOffset
= 0;
33 references to negOffset
System.Windows.Forms (33)
winforms\Managed\System\WinForms\DataGridView.cs (1)
3077
return this.
negOffset
;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (32)
4227
if (this.
negOffset
!= this.horizontalOffset)
4624
cx -= this.
negOffset
;
4641
if (this.
negOffset
> 0)
4644
if (displayWidth - cx > this.
negOffset
)
4646
cx += this.
negOffset
;
4647
this.horizontalOffset -= this.
negOffset
;
4660
Debug.Assert(this.
negOffset
== 0);
4679
Debug.Assert(this.
negOffset
== 0);
4691
Debug.Assert(this.
negOffset
== GetNegOffsetFromHorizontalOffset(this.horizontalOffset));
5549
if (this.
negOffset
> 0)
5551
cx -= this.
negOffset
;
8332
cx += this.
negOffset
;
8336
cx -= this.
negOffset
;
8352
viewedColumnWidth -= this.
negOffset
;
8449
cx += this.
negOffset
;
8453
cx -= this.
negOffset
;
8560
x += this.
negOffset
;
8564
x -= this.
negOffset
;
8808
(this.
negOffset
> 0 ||
8954
(this.
negOffset
> 0 ||
17618
this.horizontalOffset -= this.
negOffset
;
19959
scrollingBounds.X -= this.
negOffset
;
19961
scrollingBounds.Width += this.
negOffset
;
19966
if (this.
negOffset
> 0)
20028
if (this.
negOffset
> 0)
26128
(columnIndex != this.displayedBandsInfo.FirstDisplayedScrollingCol || this.
negOffset
> 0))
26142
if (this.
negOffset
> 0)
26148
else if (columnIndex == this.displayedBandsInfo.FirstDisplayedScrollingCol && this.
negOffset
> 0)
26183
xColumnRightEdge -= this.
negOffset
;
26202
xColumnRightEdge += this.
negOffset
;
26266
if (this.
negOffset
> 0)
26280
if (this.
negOffset
== 0)