12 writes to _horizontalOffset
System.Windows.Forms (12)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2701
_horizontalOffset
= value;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (11)
4660
_horizontalOffset
-= FirstDisplayedScrollingColumnHiddenWidth;
4665
_horizontalOffset
-= displayWidth - cx;
4684
_horizontalOffset
-= dataGridViewColumn.Thickness;
4703
_horizontalOffset
-= displayWidth - cx;
14335
_horizontalOffset
-= dataGridViewColumn.Thickness;
14339
_horizontalOffset
= FirstDisplayedScrollingColumnHiddenWidth = 0;
14345
_horizontalOffset
= FirstDisplayedScrollingColumnHiddenWidth = 0;
17163
_horizontalOffset
-= FirstDisplayedScrollingColumnHiddenWidth;
17174
_horizontalOffset
= newHorizontalOffset;
17180
_horizontalOffset
= FirstDisplayedScrollingColumnHiddenWidth = 0;
17187
_horizontalOffset
-= dataGridViewColumn.Thickness;
22 references to _horizontalOffset
System.Windows.Forms (22)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (8)
2674
get =>
_horizontalOffset
;
2688
if (value ==
_horizontalOffset
)
2695
int change =
_horizontalOffset
- value;
2776
OnScroll(scrollEventType,
_horizontalOffset
+ change,
_horizontalOffset
, ScrollOrientation.HorizontalScroll);
2793
get =>
_horizontalOffset
;
2808
Debug.Assert(
_horizontalOffset
== 0);
2812
if (value ==
_horizontalOffset
)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (14)
4220
if (
_horizontalOffset
== 0)
4230
if (cx >
_horizontalOffset
)
4243
Debug.Assert(cx <=
_horizontalOffset
);
4252
if (FirstDisplayedScrollingColumnHiddenWidth !=
_horizontalOffset
)
4262
FirstDisplayedScrollingColumnHiddenWidth = dataGridViewColumn.Thickness - (cx -
_horizontalOffset
);
4672
if (cx < displayWidth &&
_horizontalOffset
> 0)
4692
if (cx < displayWidth &&
_horizontalOffset
> 0 && firstDisplayedScrollingCol != 0)
4707
Debug.Assert(FirstDisplayedScrollingColumnHiddenWidth == GetNegOffsetFromHorizontalOffset(
_horizontalOffset
));
14332
if (
_horizontalOffset
>= dataGridViewColumn.Thickness)
14350
_horizScrollBar.Value =
_horizontalOffset
;
17175
FirstDisplayedScrollingColumnHiddenWidth = GetNegOffsetFromHorizontalOffset(
_horizontalOffset
);
17186
Debug.Assert(
_horizontalOffset
>= dataGridViewColumn.Thickness);
17192
_horizScrollBar.Value =
_horizontalOffset
;
19253
int rowsWidth = visibleColumnsWidth -
_horizontalOffset
;