12 writes to horizontalOffset
System.Windows.Forms (12)
winforms\Managed\System\WinForms\DataGridView.cs (1)
3405
this.
horizontalOffset
= value;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (11)
4647
this.
horizontalOffset
-= this.negOffset;
4652
this.
horizontalOffset
-= displayWidth - cx;
4670
this.
horizontalOffset
-= dataGridViewColumn.Thickness;
4687
this.
horizontalOffset
-= displayWidth - cx;
14807
this.
horizontalOffset
-= dataGridViewColumn.Thickness;
14811
this.
horizontalOffset
= this.negOffset = 0;
14817
this.
horizontalOffset
= this.negOffset = 0;
17618
this.
horizontalOffset
-= this.negOffset;
17629
this.
horizontalOffset
= newHorizontalOffset;
17635
this.
horizontalOffset
= this.negOffset = 0;
17642
this.
horizontalOffset
-= dataGridViewColumn.Thickness;
22 references to horizontalOffset
System.Windows.Forms (22)
winforms\Managed\System\WinForms\DataGridView.cs (8)
3380
return this.
horizontalOffset
;
3393
if (value == this.
horizontalOffset
)
3400
int change = this.
horizontalOffset
- value;
3476
OnScroll(scrollEventType, this.
horizontalOffset
+ change, this.
horizontalOffset
, ScrollOrientation.HorizontalScroll);
3500
return this.
horizontalOffset
;
3518
Debug.Assert(this.
horizontalOffset
== 0);
3521
if (value == this.
horizontalOffset
)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (14)
4197
if (this.
horizontalOffset
== 0)
4207
if (cx > this.
horizontalOffset
)
4218
Debug.Assert(cx <= this.
horizontalOffset
);
4227
if (this.negOffset != this.
horizontalOffset
)
4236
this.negOffset = dataGridViewColumn.Thickness - (cx - this.
horizontalOffset
);
4658
if (cx < displayWidth && this.
horizontalOffset
> 0)
4677
if (cx < displayWidth && this.
horizontalOffset
> 0 && firstDisplayedScrollingCol != 0)
4691
Debug.Assert(this.negOffset == GetNegOffsetFromHorizontalOffset(this.
horizontalOffset
));
14804
if (this.
horizontalOffset
>= dataGridViewColumn.Thickness)
14821
this.horizScrollBar.Value = this.
horizontalOffset
;
17630
this.negOffset = GetNegOffsetFromHorizontalOffset(this.
horizontalOffset
);
17641
Debug.Assert(this.
horizontalOffset
>= dataGridViewColumn.Thickness);
17647
this.horizScrollBar.Value = this.
horizontalOffset
;
19812
int rowsWidth = visibleColumnsWidth - this.
horizontalOffset
;