1 write to _dataGridViewState1
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
393
_dataGridViewState1
= new BitVector32(0x00000000);
140 references to _dataGridViewState1
System.Windows.Forms (140)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (47)
397
_dataGridViewState1
[State1_ColumnHeadersVisible
434
_dataGridViewState1
[State1_MultiSelect] = true;
650
get =>
_dataGridViewState1
[State1_AllowUserToAddRows];
655
_dataGridViewState1
[State1_AllowUserToAddRows] = value;
683
get =>
_dataGridViewState1
[State1_AllowUserToDeleteRows];
688
_dataGridViewState1
[State1_AllowUserToDeleteRows] = value;
713
return
_dataGridViewState1
[State1_AllowUserToOrderColumns];
719
_dataGridViewState1
[State1_AllowUserToOrderColumns] = value;
837
get =>
_dataGridViewState1
[State1_AutoGenerateColumns];
840
if (
_dataGridViewState1
[State1_AutoGenerateColumns] != value)
842
_dataGridViewState1
[State1_AutoGenerateColumns] = value;
861
get =>
_dataGridViewState1
[State1_IsAutoSized];
865
_dataGridViewState1
[State1_IsAutoSized] = value;
1530
_dataGridViewState1
[State1_AmbientColumnHeadersFont] = value?.Font == base.Font;
1557
_dataGridViewState1
[State1_AmbientColumnHeadersFont] = true;
1645
get =>
_dataGridViewState1
[State1_ColumnHeadersVisible];
1669
_dataGridViewState1
[State1_ColumnHeadersVisible] = value;
1998
_dataGridViewState1
[State1_AmbientForeColor] = true;
2014
_dataGridViewState1
[State1_AmbientFont] = true;
2043
_dataGridViewState1
[State1_AmbientFont] = value?.Font == base.Font;
2070
_dataGridViewState1
[State1_AmbientFont] = true;
2071
_dataGridViewState1
[State1_AmbientForeColor] = true;
2107
_dataGridViewState1
[State1_AmbientRowHeadersFont] = true;
2856
public bool IsCurrentCellDirty =>
_dataGridViewState1
[State1_EditedCellChanged];
2862
if (value !=
_dataGridViewState1
[State1_EditedCellChanged])
2864
_dataGridViewState1
[State1_EditedCellChanged] = value;
2872
=> EditingControl is not null ||
_dataGridViewState1
[State1_CurrentCellInEditMode];
2882
return
_dataGridViewState1
[State1_EditedRowChanged] || IsCurrentCellDirty;
2886
QuestionEventArgs qe = new(
_dataGridViewState1
[State1_EditedRowChanged] || IsCurrentCellDirty);
2897
if (value !=
_dataGridViewState1
[State1_EditedRowChanged])
2899
_dataGridViewState1
[State1_EditedRowChanged] = value;
2917
||
_dataGridViewState1
[State1_NewRowEdited];
2996
get =>
_dataGridViewState1
[State1_MultiSelect];
3002
_dataGridViewState1
[State1_MultiSelect] = value;
3062
get =>
_dataGridViewState1
[State1_ReadOnly];
3065
if (value ==
_dataGridViewState1
[State1_ReadOnly])
3089
_dataGridViewState1
[State1_ReadOnly] = value;
3317
_dataGridViewState1
[State1_AmbientRowHeadersFont] = value?.Font == base.Font;
3345
get =>
_dataGridViewState1
[State1_RowHeadersVisible];
3358
_dataGridViewState1
[State1_RowHeadersVisible] = value;
3977
get =>
_dataGridViewState1
[State1_StandardTab];
3980
if (
_dataGridViewState1
[State1_StandardTab] != value)
3982
_dataGridViewState1
[State1_StandardTab] = value;
4079
public Cursor? UserSetCursor =>
_dataGridViewState1
[State1_CustomCursorSet]
4141
get =>
_dataGridViewState1
[State1_VirtualMode];
4144
if (
_dataGridViewState1
[State1_VirtualMode] != value)
4146
_dataGridViewState1
[State1_VirtualMode] = value;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (93)
75
_dataGridViewState1
[State1_NewRowCreatedByEditing] = createdByEditing;
2644
_dataGridViewState1
[State1_CurrentCellInEditMode] = true;
3081
_dataGridViewState1
[State1_IgnoringEditingChanges] = true;
3089
Debug.Assert(
_dataGridViewState1
[State1_CurrentCellInEditMode]);
3106
_dataGridViewState1
[State1_IgnoringEditingChanges] = false;
3177
Debug.Assert(
_dataGridViewState1
[State1_CurrentCellInEditMode]);
3187
|| (
_dataGridViewState1
[State1_NewRowEdited] && !
_dataGridViewState1
[State1_EditedRowChanged]))
3189
bool discardNewRow =
_dataGridViewState1
[State1_NewRowEdited];
3201
DataConnection!.CancelRowEdit(restoreRow: true, addNewFinished:
_dataGridViewState1
[State1_NewRowEdited]);
3250
Debug.Assert(
_dataGridViewState1
[State1_CurrentCellInEditMode]);
3264
if (!IsCurrentRowDirty && _ptCurrentCell.Y == NewRowIndex - 1 &&
_dataGridViewState1
[State1_NewRowCreatedByEditing])
3862
|| (
_dataGridViewState1
[State1_CurrentCellInEditMode] && ((IDataGridViewEditingCell)CurrentCellInternal).EditingCellValueChanged)) == IsCurrentCellDirty
3863
||
_dataGridViewState1
[State1_IgnoringEditingChanges]);
3905
Debug.Assert(
_dataGridViewState1
[State1_CurrentCellInEditMode]);
3943
Debug.Assert(
_dataGridViewState1
[State1_CurrentCellInEditMode]);
5988
Debug.Assert(!
_dataGridViewState1
[State1_CustomCursorSet]);
5989
_dataGridViewState1
[State1_CustomCursorSet] = true;
6008
if (
_dataGridViewState1
[State1_CustomCursorSet])
6010
_dataGridViewState1
[State1_CustomCursorSet] = false;
6222
_dataGridViewState1
[State1_EditingControlChanging] = true;
6229
_dataGridViewState1
[State1_EditingControlChanging] = false;
6261
Debug.Assert(
_dataGridViewState1
[State1_CurrentCellInEditMode]);
6262
_dataGridViewState1
[State1_CurrentCellInEditMode] = false;
9684
_dataGridViewState1
[State1_IgnoringEditingChanges] = true;
9711
_dataGridViewState1
[State1_IgnoringEditingChanges] = false;
9725
_dataGridViewState1
[State1_EditingControlChanging] = true;
9726
_dataGridViewState1
[State1_IgnoringEditingChanges] = true;
9743
_dataGridViewState1
[State1_EditingControlChanging] = false;
9744
_dataGridViewState1
[State1_IgnoringEditingChanges] = false;
10051
if (EditingControl is not null &&
_dataGridViewState1
[State1_ForwardCharMessage])
10432
&& !
_dataGridViewState1
[State1_EditingControlHidden]
10500
&& !
_dataGridViewState1
[State1_EditingControlHidden]
10515
if (!
_dataGridViewState1
[State1_IgnoringEditingChanges])
12670
if (!
_dataGridViewState1
[State1_ScrolledSinceMouseDown]
12859
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 &&
_dataGridViewState1
[State1_AmbientFont])
12861
_dataGridViewState1
[State1_AmbientFont] = false;
12864
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.ColumnHeaders) != 0 &&
_dataGridViewState1
[State1_AmbientColumnHeadersFont])
12866
_dataGridViewState1
[State1_AmbientColumnHeadersFont] = false;
12869
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.RowHeaders) != 0 &&
_dataGridViewState1
[State1_AmbientRowHeadersFont])
12871
_dataGridViewState1
[State1_AmbientRowHeadersFont] = false;
12877
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 &&
_dataGridViewState1
[State1_AmbientForeColor])
12879
_dataGridViewState1
[State1_AmbientForeColor] = false;
15011
_dataGridViewState1
[State1_LeavingWithTabKey] = false;
15085
if (
_dataGridViewState1
[State1_AmbientColumnHeadersFont] && ColumnHeadersDefaultCellStyle.Font != base.Font)
15088
_dataGridViewState1
[State1_AmbientColumnHeadersFont] = true;
15093
if (
_dataGridViewState1
[State1_AmbientRowHeadersFont] && RowHeadersDefaultCellStyle.Font != base.Font)
15096
_dataGridViewState1
[State1_AmbientRowHeadersFont] = true;
15101
if (
_dataGridViewState1
[State1_AmbientFont] && DefaultCellStyle.Font != base.Font)
15104
_dataGridViewState1
[State1_AmbientFont] = true;
15119
if (
_dataGridViewState1
[State1_AmbientForeColor] && DefaultCellStyle.ForeColor != base.ForeColor)
15122
_dataGridViewState1
[State1_AmbientForeColor] = true;
15535
_dataGridViewState1
[State1_TemporarilyResetCurrentCell] = true;
15788
if (
_dataGridViewState1
[State1_EditingControlChanging])
15812
if (_ptCurrentCell.X > -1 && !
_dataGridViewState1
[State1_LeavingWithTabKey])
15824
if (!
_dataGridViewState1
[State1_LeavingWithTabKey])
16147
if (
_dataGridViewState1
[State1_CustomCursorSet])
16149
_dataGridViewState1
[State1_CustomCursorSet] = false;
16225
if (!
_dataGridViewState1
[State1_CustomCursorSet])
16227
_dataGridViewState1
[State1_CustomCursorSet] = true;
16248
if (!
_dataGridViewState1
[State1_CustomCursorSet])
16250
_dataGridViewState1
[State1_CustomCursorSet] = true;
16257
else if (
_dataGridViewState1
[State1_CustomCursorSet])
16259
_dataGridViewState1
[State1_CustomCursorSet] = false;
16342
_dataGridViewState1
[State1_ScrolledSinceMouseDown] = false;
17025
_dataGridViewState1
[State1_TemporarilyResetCurrentCell] = false;
17080
_dataGridViewState1
[State1_TemporarilyResetCurrentCell] = true;
17247
_dataGridViewState1
[State1_TemporarilyResetCurrentCell] = false;
17295
_dataGridViewState1
[State1_TemporarilyResetCurrentCell] = true;
17656
_dataGridViewState1
[State1_NewRowEdited] = false;
17664
_dataGridViewState1
[State1_NewRowEdited] = true;
18762
_dataGridViewState1
[State1_NewRowCreatedByEditing] = false;
19043
if (!
_dataGridViewState1
[State1_LeavingWithTabKey])
19810
_dataGridViewState1
[State1_EditingControlChanging] = true;
19854
_dataGridViewState1
[State1_EditingControlHidden] = true;
19889
setLocation ||
_dataGridViewState1
[State1_EditingControlHidden],
19890
setSize ||
_dataGridViewState1
[State1_EditingControlHidden],
19898
_dataGridViewState1
[State1_EditingControlHidden] = false;
19909
_dataGridViewState1
[State1_EditingControlChanging] = false;
20108
_dataGridViewState1
[State1_LeavingWithTabKey] = true;
20128
if (
_dataGridViewState1
[State1_LeavingWithTabKey] && Focused)
21907
_dataGridViewState1
[State1_ForwardCharMessage] = true;
21916
else if (
_dataGridViewState1
[State1_ForwardCharMessage]
21919
_dataGridViewState1
[State1_ForwardCharMessage] = false;
25302
Debug.Assert(
_dataGridViewState1
[State1_CurrentCellInEditMode]);
25494
Debug.Assert(
_dataGridViewState1
[State1_CurrentCellInEditMode]);
26243
_dataGridViewState1
[State1_ScrolledSinceMouseDown] = true;
26358
_dataGridViewState1
[State1_ScrolledSinceMouseDown] = true;
26785
if (
_dataGridViewState1
[State1_TemporarilyResetCurrentCell])
26787
_dataGridViewState1
[State1_TemporarilyResetCurrentCell] = false;
26969
&& !
_dataGridViewState1
[State1_LeavingWithTabKey]
27017
&& !
_dataGridViewState1
[State1_TemporarilyResetCurrentCell]
27093
if (
_dataGridViewState1
[State1_TemporarilyResetCurrentCell])