1 write to _dataGridViewOper
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
395
_dataGridViewOper
= new BitVector32(0x00000000);
182 references to _dataGridViewOper
System.Windows.Forms (182)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (21)
1243
_dataGridViewOper
[OperationInBorderStyleChange] = true;
1309
_dataGridViewOper
[OperationInBorderStyleChange] = false;
1460
_dataGridViewOper
[OperationInBorderStyleChange] = true;
1484
_dataGridViewOper
[OperationInBorderStyleChange] = false;
2836
=>
_dataGridViewOper
[OperationInAdjustFillingColumn] ||
_dataGridViewOper
[OperationInAdjustFillingColumns];
2838
internal bool InBeginEdit =>
_dataGridViewOper
[OperationInBeginEdit];
2842
get =>
_dataGridViewOper
[OperationInDisplayIndexAdjustments];
2843
set =>
_dataGridViewOper
[OperationInDisplayIndexAdjustments] = value;
2846
internal bool InEndEdit =>
_dataGridViewOper
[OperationInEndEdit];
2853
internal bool InSortOperation =>
_dataGridViewOper
[OperationInSort];
2909
private bool IsEscapeKeyEffective =>
_dataGridViewOper
[OperationTrackColResize]
2910
||
_dataGridViewOper
[OperationTrackRowResize]
2911
||
_dataGridViewOper
[OperationTrackColHeadersResize]
2912
||
_dataGridViewOper
[OperationTrackRowHeadersResize]
2913
||
_dataGridViewOper
[OperationTrackColRelocation]
3095
_dataGridViewOper
[OperationInReadOnlyChange] = true;
3109
_dataGridViewOper
[OperationInReadOnlyChange] = false;
3154
internal bool ResizingOperationAboutToStart =>
_dataGridViewOper
[OperationResizingOperationAboutToStart];
3257
_dataGridViewOper
[OperationInBorderStyleChange] = true;
3281
_dataGridViewOper
[OperationInBorderStyleChange] = false;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (161)
529
_dataGridViewOper
[OperationInAdjustFillingColumn] = true;
878
_dataGridViewOper
[OperationInAdjustFillingColumn] = false;
884
if (
_dataGridViewOper
[OperationInAdjustFillingColumns])
890
_dataGridViewOper
[OperationInAdjustFillingColumns] = true;
1284
_dataGridViewOper
[OperationInAdjustFillingColumns] = false;
2440
_dataGridViewOper
[OperationTrackColHeadersResize] = true;
2484
_dataGridViewOper
[OperationTrackColRelocation] = true;
2510
_dataGridViewOper
[OperationTrackColResize] = true;
2525
_dataGridViewOper
[OperationTrackKeyboardColResize] = true;
2570
if (
_dataGridViewOper
[OperationInBeginEdit])
2577
_dataGridViewOper
[OperationInBeginEdit] = true;
2725
_dataGridViewOper
[OperationInBeginEdit] = false;
2756
_dataGridViewOper
[OperationTrackRowHeadersResize] = true;
2777
_dataGridViewOper
[OperationTrackRowResize] = true;
3323
if (
_dataGridViewOper
[OperationInDispose])
3973
if (
_dataGridViewOper
[OperationInCellValidating])
4940
_dataGridViewOper
[OperationInDisplayIndexAdjustments] = true;
4960
_dataGridViewOper
[OperationInDisplayIndexAdjustments] = false;
4974
_dataGridViewOper
[OperationInDisplayIndexAdjustments] = true;
4994
_dataGridViewOper
[OperationInDisplayIndexAdjustments] = false;
5132
Debug.Assert(!
_dataGridViewOper
[OperationInDisplayIndexAdjustments]);
5574
_dataGridViewOper
[OperationInDispose] = true;
5619
_dataGridViewOper
[OperationInDispose] = false;
5746
_dataGridViewOper
[OperationLastEditCtrlClickDoubled] = false;
5825
_dataGridViewOper
[OperationLastEditCtrlClickDoubled] = true;
5841
if (
_dataGridViewOper
[OperationLastEditCtrlClickDoubled])
6164
_dataGridViewOper
[OperationInEndEdit] = true;
6276
_dataGridViewOper
[OperationInEndEdit] = false;
8573
if (
_dataGridViewOper
[OperationTrackRowSelect])
8665
if (
_dataGridViewOper
[OperationTrackColSelect])
8798
if (
_dataGridViewOper
[OperationTrackCellSelect])
9627
Debug.Assert(
_dataGridViewOper
[OperationTrackColSelect] ||
_dataGridViewOper
[OperationTrackCellSelect]);
9640
if (
_dataGridViewOper
[OperationTrackColSelect])
9648
else if (
_dataGridViewOper
[OperationTrackCellSelect])
9664
if (
_dataGridViewOper
[OperationTrackColSelect] && hti._col >= 0)
9668
else if (
_dataGridViewOper
[OperationTrackCellSelect] && hti._col >= 0 && hti._row >= 0)
10465
&& !
_dataGridViewOper
[OperationInRefreshColumns])
11085
if (!
_dataGridViewOper
[OperationInBorderStyleChange])
11925
_dataGridViewOper
[OperationResizingOperationAboutToStart] = (e.Clicks == 1);
12056
_dataGridViewOper
[OperationResizingOperationAboutToStart] = false;
12145
if (
_dataGridViewOper
[OperationTrackMouseMoves])
12147
_dataGridViewOper
[OperationTrackCellSelect] = true;
12244
if (MultiSelect &&
_dataGridViewOper
[OperationTrackMouseMoves])
12246
_dataGridViewOper
[OperationTrackColSelect] = true;
12335
if (
_dataGridViewOper
[OperationTrackMouseMoves])
12337
_dataGridViewOper
[OperationTrackCellSelect] = true;
12447
if (MultiSelect &&
_dataGridViewOper
[OperationTrackMouseMoves])
12449
_dataGridViewOper
[OperationTrackRowSelect] = true;
12541
if (
_dataGridViewOper
[OperationTrackMouseMoves])
12543
_dataGridViewOper
[OperationTrackCellSelect] = true;
12824
&& !
_dataGridViewOper
[OperationInReadOnlyChange])
13117
_dataGridViewOper
[OperationInCellValidating] = true;
13129
_dataGridViewOper
[OperationInCellValidating] = false;
13250
if (DataSource is not null && !
_dataGridViewOper
[OperationInRefreshColumns])
13279
if (DataSource is not null && !
_dataGridViewOper
[OperationInRefreshColumns])
13324
if (DataSource is not null && e.Column.DataPropertyName.Length != 0 && !
_dataGridViewOper
[OperationInRefreshColumns])
13365
if (
_dataGridViewOper
[OperationInDisplayIndexAdjustments])
13376
_dataGridViewOper
[OperationInDisplayIndexAdjustments] = true;
13408
_dataGridViewOper
[OperationInDisplayIndexAdjustments] = false;
13421
Debug.Assert(
_dataGridViewOper
[OperationInDisplayIndexAdjustments]);
13431
Debug.Assert(
_dataGridViewOper
[OperationInDisplayIndexAdjustments]);
13815
if (MultiSelect &&
_dataGridViewOper
[OperationTrackMouseMoves])
13817
_dataGridViewOper
[OperationTrackColSelect] = true;
14437
&& !
_dataGridViewOper
[OperationInReadOnlyChange])
14610
if (!
_dataGridViewOper
[OperationInDispose] && !IsDisposed)
14746
&& !
_dataGridViewOper
[OperationInReadOnlyChange])
14809
&& !
_dataGridViewOper
[OperationInReadOnlyChange])
14847
&& !
_dataGridViewOper
[OperationInReadOnlyChange])
14938
&& !
_dataGridViewOper
[OperationInDispose]
15038
else if (!
_dataGridViewOper
[OperationInMouseDown])
15050
if (_ptCurrentCell.X > -1 && CurrentCellInternal.EditType is null && !
_dataGridViewOper
[OperationInMouseDown])
15058
else if (!
_dataGridViewOper
[OperationInMouseDown])
15193
if (!
_dataGridViewOper
[OperationInCurrentCellChange]
15194
&& (!
_dataGridViewOper
[OperationInEndEdit] || EditMode != DataGridViewEditMode.EditOnEnter)
15195
&& (!
_dataGridViewOper
[OperationInMouseDown] || EditMode != DataGridViewEditMode.EditOnEnter)
15761
if (
_dataGridViewOper
[OperationTrackKeyboardColResize] && (e.KeyData & Keys.Alt) != Keys.Alt)
15861
&& !
_dataGridViewOper
[OperationInDispose]
15863
&& !
_dataGridViewOper
[OperationTrackColResize]
15864
&& !
_dataGridViewOper
[OperationTrackRowResize]
15865
&& !
_dataGridViewOper
[OperationTrackColHeadersResize]
15866
&& !
_dataGridViewOper
[OperationTrackRowHeadersResize])
15908
if (!
_dataGridViewOper
[OperationTrackColRelocation])
15952
&& !
_dataGridViewOper
[OperationTrackColResize]
15953
&& !
_dataGridViewOper
[OperationTrackRowResize]
15954
&& !
_dataGridViewOper
[OperationTrackColHeadersResize]
15955
&& !
_dataGridViewOper
[OperationTrackRowHeadersResize])
15976
if (!
_dataGridViewOper
[OperationTrackColRelocation])
16092
_dataGridViewOper
[OperationTrackMouseMoves] = true;
16171
_dataGridViewOper
[OperationTrackMouseMoves] = false;
16190
if (
_dataGridViewOper
[OperationTrackColResize])
16194
else if (
_dataGridViewOper
[OperationTrackRowResize])
16198
else if (
_dataGridViewOper
[OperationTrackColRelocation])
16202
else if (
_dataGridViewOper
[OperationTrackColHeadersResize])
16206
else if (
_dataGridViewOper
[OperationTrackRowHeadersResize])
16211
if (
_dataGridViewOper
[OperationTrackColResize]
16212
||
_dataGridViewOper
[OperationTrackRowHeadersResize]
16219
&& !
_dataGridViewOper
[OperationTrackColHeadersResize]
16220
&& !
_dataGridViewOper
[OperationTrackColRelocation]
16221
&& !
_dataGridViewOper
[OperationTrackColSelect]
16222
&& !
_dataGridViewOper
[OperationTrackRowSelect]
16223
&& !
_dataGridViewOper
[OperationTrackCellSelect]))
16234
else if (
_dataGridViewOper
[OperationTrackRowResize]
16235
||
_dataGridViewOper
[OperationTrackColHeadersResize]
16242
&& !
_dataGridViewOper
[OperationTrackRowHeadersResize]
16243
&& !
_dataGridViewOper
[OperationTrackColRelocation]
16244
&& !
_dataGridViewOper
[OperationTrackColSelect]
16245
&& !
_dataGridViewOper
[OperationTrackRowSelect]
16246
&& !
_dataGridViewOper
[OperationTrackCellSelect]))
16263
if (
_dataGridViewOper
[OperationTrackColSelect] ||
_dataGridViewOper
[OperationTrackRowSelect] ||
_dataGridViewOper
[OperationTrackCellSelect])
16307
if (
_dataGridViewOper
[OperationTrackColSelect] && hti._col >= 0)
16311
else if (
_dataGridViewOper
[OperationTrackRowSelect] && hti._row >= 0)
16315
else if (
_dataGridViewOper
[OperationTrackCellSelect] && hti._col >= 0 && hti._row >= 0)
16395
if (
_dataGridViewOper
[OperationTrackColResize])
16400
if (
_dataGridViewOper
[OperationTrackRowResize])
16405
if (
_dataGridViewOper
[OperationTrackColRelocation])
16410
if (
_dataGridViewOper
[OperationTrackColHeadersResize])
16415
if (
_dataGridViewOper
[OperationTrackRowHeadersResize])
16663
if (
_dataGridViewOper
[OperationInDispose] || IsDisposed)
18097
if (MultiSelect &&
_dataGridViewOper
[OperationTrackMouseMoves])
18099
_dataGridViewOper
[OperationTrackRowSelect] = true;
18678
if (e.StateChanged == DataGridViewElementStates.ReadOnly && rowIndex == _ptCurrentCell.Y && !
_dataGridViewOper
[OperationInReadOnlyChange])
19538
Debug.Assert(
_dataGridViewOper
[OperationTrackColHeadersResize] ||
_dataGridViewOper
[OperationTrackRowResize]);
19543
Debug.Assert(
_dataGridViewOper
[OperationTrackRowHeadersResize]
19544
||
_dataGridViewOper
[OperationTrackColResize]
19545
||
_dataGridViewOper
[OperationTrackKeyboardColResize]);
22020
if (
_dataGridViewOper
[OperationTrackKeyboardColResize] && _resizeClipRectangle.Contains(x, _resizeClipRectangle.Top))
25424
_dataGridViewOper
[OperationInRefreshColumns] = true;
25457
_dataGridViewOper
[OperationInRefreshColumns] = false;
25522
if (
_dataGridViewOper
[OperationInCurrentCellChange])
25837
_dataGridViewOper
[OperationMouseOperationMask] = false;
25838
_dataGridViewOper
[OperationTrackColSelect] = false;
25839
_dataGridViewOper
[OperationTrackRowSelect] = false;
25840
_dataGridViewOper
[OperationTrackCellSelect] = false;
25877
_dataGridViewOper
[OperationKeyboardOperationMask] = false;
25889
return (
_dataGridViewOper
.Data & OperationMouseOperationMask) != 0;
25895
return (
_dataGridViewOper
.Data & OperationKeyboardOperationMask) != 0;
26768
if (
_dataGridViewOper
[OperationInCurrentCellChange] && // Allow the code to be re-entrant only as a result of
26774
_dataGridViewOper
[OperationInCurrentCellChange] = true;
27018
&& !
_dataGridViewOper
[OperationInDispose])
27109
else if (oldCurrentCellX >= 0 && !
_dataGridViewOper
[OperationInDispose])
27126
_dataGridViewOper
[OperationInCurrentCellChange] = false;
27552
_dataGridViewOper
[OperationInReadOnlyChange] = true;
27557
_dataGridViewOper
[OperationInReadOnlyChange] = false;
27589
_dataGridViewOper
[OperationInReadOnlyChange] = true;
27594
_dataGridViewOper
[OperationInReadOnlyChange] = false;
28222
_dataGridViewOper
[OperationInSort] = true;
28321
Debug.Assert(
_dataGridViewOper
[OperationInSort]);
28322
_dataGridViewOper
[OperationInSort] = false;
29862
Debug.Assert(
_dataGridViewOper
[OperationTrackRowSelect] ||
_dataGridViewOper
[OperationTrackCellSelect]);
29877
if (
_dataGridViewOper
[OperationTrackRowSelect])
29885
else if (
_dataGridViewOper
[OperationTrackCellSelect])
29899
if (
_dataGridViewOper
[OperationTrackRowSelect] && hti._row >= 0)
29903
else if (
_dataGridViewOper
[OperationTrackCellSelect] && hti._col >= 0 && hti._row >= 0)
30068
_dataGridViewOper
[OperationInMouseDown] = true;
30075
_dataGridViewOper
[OperationInMouseDown] = false;
30107
_dataGridViewOper
[OperationInDispose] || IsDisposed ? null : Events[staticEvent] as T;