1 write to dataGridViewState1
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridView.cs (1)
436
this.
dataGridViewState1
= new System.Collections.Specialized.BitVector32(0x00000000);
144 references to dataGridViewState1
System.Windows.Forms (144)
winforms\Managed\System\WinForms\DataGridView.cs (51)
440
this.
dataGridViewState1
[ DATAGRIDVIEWSTATE1_columnHeadersVisible
482
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_multiSelect] = true;
728
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_allowUserToAddRows];
734
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_allowUserToAddRows] = value;
786
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_allowUserToDeleteRows];
792
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_allowUserToDeleteRows] = value;
840
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_allowUserToOrderColumns];
846
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_allowUserToOrderColumns] = value;
1040
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_autoGenerateColumns];
1043
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_autoGenerateColumns] != value)
1045
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_autoGenerateColumns] = value;
1076
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_isAutoSized];
1081
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_isAutoSized] = value;
1957
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont] = true;
2116
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_columnHeadersVisible];
2139
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_columnHeadersVisible] = value;
2521
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientForeColor] = true;
2534
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientFont] = true;
2584
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientFont] = true;
2585
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientForeColor] = true;
2646
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientRowHeadersFont] = true;
3613
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editedCellChanged];
3621
if (value != this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editedCellChanged])
3623
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editedCellChanged] = value;
3635
return this.editingControl != null || this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode];
3648
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editedRowChanged] || this.IsCurrentCellDirty;
3652
QuestionEventArgs qe = new QuestionEventArgs(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editedRowChanged] || this.IsCurrentCellDirty);
3663
if (value != this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editedRowChanged])
3665
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editedRowChanged] = value;
3687
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_newRowEdited]);
3704
if (!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_isRestrictedChecked])
3706
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_isRestricted] = false;
3713
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_isRestricted] = true;
3717
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_isRestricted] = true; // To be on the safe side
3718
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_isRestrictedChecked] = true;
3721
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_isRestrictedChecked] = true;
3723
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_isRestricted];
3787
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_multiSelect];
3794
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_multiSelect] = value;
3914
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_readOnly];
3918
if (value != this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_readOnly])
3940
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_readOnly] = value;
4265
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_rowHeadersVisible];
4278
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_rowHeadersVisible] = value;
5025
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_standardTab];
5029
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_standardTab] != value)
5031
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_standardTab] = value;
5178
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet])
5271
return this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_virtualMode];
5275
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_virtualMode] != value)
5277
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_virtualMode] = value;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (93)
87
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_newRowCreatedByEditing] = createdByEditing;
2682
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode] = true;
3113
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = true;
3121
Debug.Assert(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode]);
3140
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = false;
3223
Debug.Assert(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode]);
3232
(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_newRowEdited] &&
3233
!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editedRowChanged]))
3235
bool discardNewRow = this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_newRowEdited];
3246
this.dataConnection.CancelRowEdit(true /*restoreRow*/, this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_newRowEdited]/*addNewFinished*/);
3293
Debug.Assert(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode]);
3308
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_newRowCreatedByEditing])
3889
(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode] && ((IDataGridViewEditingCell)this.CurrentCellInternal).EditingCellValueChanged)
3891
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ignoringEditingChanges]);
3929
Debug.Assert(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode]);
3962
Debug.Assert(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode]);
6028
Debug.Assert(!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet]);
6029
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet] = true;
6047
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet])
6049
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet] = false;
6259
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlChanging] = true;
6266
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlChanging] = false;
6292
Debug.Assert(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode]);
6293
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode] = false;
9843
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = true;
9873
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = false;
9894
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlChanging] = true;
9895
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = true;
9914
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlChanging] = false;
9915
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ignoringEditingChanges] = false;
10230
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_forwardCharMessage])
10613
!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlHidden] &&
10678
!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlHidden] &&
10696
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ignoringEditingChanges] == false)
13014
if (!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_scrolledSinceMouseDown] &&
13237
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientFont])
13239
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientFont] = false;
13241
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.ColumnHeaders) != 0 && this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont])
13243
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont] = false;
13245
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.RowHeaders) != 0 && this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientRowHeadersFont])
13247
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientRowHeadersFont] = false;
13252
if ((dataGridViewCellStyle.Scope & DataGridViewCellStyleScopes.DataGridView) != 0 && this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientForeColor])
13254
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientForeColor] = false;
15526
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_leavingWithTabKey] = false;
15595
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont] &&
15599
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientColumnHeadersFont] = true;
15604
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientRowHeadersFont] &&
15608
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientRowHeadersFont] = true;
15613
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientFont] &&
15617
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientFont] = true;
15633
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientForeColor] && this.DefaultCellStyle.ForeColor != base.ForeColor)
15636
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_ambientForeColor] = true;
16013
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = true;
16253
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlChanging])
16273
if (this.ptCurrentCell.X > -1 && !this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_leavingWithTabKey])
16284
if (!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_leavingWithTabKey])
16573
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet])
16575
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet] = false;
16653
if (!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet])
16655
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet] = true;
16675
if (!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet])
16677
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet] = true;
16700
else if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet])
16702
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_customCursorSet] = false;
16789
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_scrolledSinceMouseDown] = false;
17477
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = false;
17539
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = true;
17692
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = false;
17747
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = true;
18118
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_newRowEdited] = false;
18126
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_newRowEdited] = true;
19301
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_newRowCreatedByEditing] = false;
19610
if (!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_leavingWithTabKey])
20358
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlChanging] = true;
20394
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlHidden] = true;
20422
setLocation || this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlHidden],
20423
setSize || this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlHidden],
20427
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlHidden] = false;
20437
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_editingControlChanging] = false;
20648
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_leavingWithTabKey] = true;
20681
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_leavingWithTabKey] && this.Focused)
22341
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_forwardCharMessage] = true;
22351
else if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_forwardCharMessage] &&
22354
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_forwardCharMessage] = false;
25475
Debug.Assert(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode]);
25659
Debug.Assert(this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_currentCellInEditMode]);
26353
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_scrolledSinceMouseDown] = true;
26464
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_scrolledSinceMouseDown] = true;
26869
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell])
26871
this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] = false;
27040
!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_leavingWithTabKey] && // don't edit if we're in the process of leaving the grid
27085
!this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell] &&
27146
if (this.
dataGridViewState1
[DATAGRIDVIEWSTATE1_temporarilyResetCurrentCell])