1 write to _dataGridViewState2
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
394_dataGridViewState2 = new BitVector32(0x00000000);
125 references to _dataGridViewState2
System.Windows.Forms (125)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (33)
403_dataGridViewState2[State2_ShowEditingIcon 742get => _dataGridViewState2[State2_AllowUserToResizeColumns]; 747_dataGridViewState2[State2_AllowUserToResizeColumns] = value; 770get => _dataGridViewState2[State2_AllowUserToResizeRows]; 775_dataGridViewState2[State2_AllowUserToResizeRows] = value; 1327get => _dataGridViewState2[State2_CellMouseDownInContentBounds]; 1330_dataGridViewState2[State2_CellMouseDownInContentBounds] = value; 1866_dataGridViewState2[State2_IgnoreCursorChange] = true; 1873_dataGridViewState2[State2_IgnoreCursorChange] = false; 2267get => _dataGridViewState2[State2_EnableHeadersVisualStyles]; 2270if (_dataGridViewState2[State2_EnableHeadersVisualStyles] != value) 2272_dataGridViewState2[State2_EnableHeadersVisualStyles] = value; 2774if (!_dataGridViewState2[State2_StopRaisingHorizontalScroll]) 2851internal bool InInitialization => _dataGridViewState2[State2_Initializing]; 3160if (_dataGridViewState2[State2_RightToLeftValid]) 3162return _dataGridViewState2[State2_RightToLeftMode]; 3165_dataGridViewState2[State2_RightToLeftMode] = (RightToLeft == RightToLeft.Yes); 3166_dataGridViewState2[State2_RightToLeftValid] = true; 3167return _dataGridViewState2[State2_RightToLeftMode]; 3752if (!_dataGridViewState2[State2_Initializing] 3775get => _dataGridViewState2[State2_ShowCellErrors]; 3778if (_dataGridViewState2[State2_ShowCellErrors] != value) 3780_dataGridViewState2[State2_ShowCellErrors] = value; 3828get => _dataGridViewState2[State2_ShowCellToolTips]; 3831if (_dataGridViewState2[State2_ShowCellToolTips] != value) 3833_dataGridViewState2[State2_ShowCellToolTips] = value; 3880get => _dataGridViewState2[State2_ShowEditingIcon]; 3885_dataGridViewState2[State2_ShowEditingIcon] = value; 3916get => _dataGridViewState2[State2_ShowRowErrors]; 3921_dataGridViewState2[State2_ShowRowErrors] = value; 4936if (_dataGridViewState2[State2_Initializing]) 4941_dataGridViewState2[State2_Initializing] = true; 4946_dataGridViewState2[State2_Initializing] = false;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (92)
306_dataGridViewState2[State2_AutoSizedWithoutHandle] = true; 436_dataGridViewState2[State2_AutoSizedWithoutHandle] = true; 867_dataGridViewState2[State2_UsedFillWeightsDirty] = false; 976_dataGridViewState2[State2_UsedFillWeightsDirty] = false; 988if (_dataGridViewState2[State2_UsedFillWeightsDirty]) 1053_dataGridViewState2[State2_UsedFillWeightsDirty] = false; 1203_dataGridViewState2[State2_AllowHorizontalScrollbar] = false; 1245_dataGridViewState2[State2_AllowHorizontalScrollbar] = true; 1249if (!_dataGridViewState2[State2_UsedFillWeightsDirty]) 1745_dataGridViewState2[State2_AutoSizedWithoutHandle] = true; 1811_dataGridViewState2[State2_AutoSizedWithoutHandle] = true; 1875_dataGridViewState2[State2_AutoSizedWithoutHandle] = true; 2004_dataGridViewState2[State2_AutoSizedWithoutHandle] = true; 2166_dataGridViewState2[State2_AutoSizedWithoutHandle] = true; 2283_dataGridViewState2[State2_AutoSizedWithoutHandle] = true; 2397_dataGridViewState2[State2_AutoSizedWithoutHandle] = true; 2485_dataGridViewState2[State2_ShowColumnRelocationInsertion] = false; 5630if (_dataGridViewState2[State2_ShowColumnRelocationInsertion]) 5772_dataGridViewState2[State2_MessageFromEditingCtrls] = true; 5914if (_dataGridViewState2[State2_NextMouseUpIsDouble]) 5940_dataGridViewState2[State2_MessageFromEditingCtrls] = false; 5994if (_dataGridViewState2[State2_MouseEnterExpected]) 6065_dataGridViewState2[State2_ShowColumnRelocationInsertion] = false; 6220_dataGridViewState2[State2_MouseOverRemovedEditingCtrl] = MouseOverEditingControl; 6221_dataGridViewState2[State2_MouseOverRemovedEditingPanel] = MouseOverEditingPanel; 6789if (_dataGridViewState2[State2_RaiseSelectionChanged]) 10148&& _dataGridViewState2[State2_AllowHorizontalScrollbar]; 10488_dataGridViewState2[State2_ShowColumnRelocationInsertion] = ColumnRelocationTarget(e, hti, out _trackColumnEdge); 10771_dataGridViewState2[State2_UsedFillWeightsDirty] = true; 10904_dataGridViewState2[State2_UsedFillWeightsDirty] = true; 11173_dataGridViewState2[State2_UsedFillWeightsDirty] = true; 11254_dataGridViewState2[State2_UsedFillWeightsDirty] = true; 11445if (_dataGridViewState2[State2_InBindingContextChanged]) 11450_dataGridViewState2[State2_InBindingContextChanged] = true; 11490_dataGridViewState2[State2_InBindingContextChanged] = false; 11859_dataGridViewState2[State2_NextMouseUpIsDouble] = false; 11880_dataGridViewState2[State2_NextMouseUpIsDouble] = true; 11901if (!_dataGridViewState2[State2_MessageFromEditingCtrls] && e.Button == MouseButtons.Left) 11946if (!_dataGridViewState2[State2_MessageFromEditingCtrls] && e.Button == MouseButtons.Left) 12696Debug.Assert(!_dataGridViewState2[State2_MessageFromEditingCtrls]); 13228_dataGridViewState2[State2_RaiseSelectionChanged] = _selectedBandIndexes.Count > 0 13506_dataGridViewState2[State2_UsedFillWeightsDirty] = true; 14021_dataGridViewState2[State2_UsedFillWeightsDirty] = true; 14354_dataGridViewState2[State2_UsedFillWeightsDirty] = true; 14374_dataGridViewState2[State2_UsedFillWeightsDirty] = true; 14542|| (_dataGridViewState2[State2_CellMouseDownInContentBounds] 14596if (!_dataGridViewState2[State2_IgnoreCursorChange]) 14686_dataGridViewState2[State2_RaiseSelectionChanged] = true; 14937if (!_dataGridViewState2[State2_MessageFromEditingCtrls] 15239if (_dataGridViewState2[State2_AutoSizedWithoutHandle]) 15241_dataGridViewState2[State2_AutoSizedWithoutHandle] = false; 15860if (!_dataGridViewState2[State2_MessageFromEditingCtrls] 15951if (!_dataGridViewState2[State2_MessageFromEditingCtrls] 16090if (!_dataGridViewState2[State2_MessageFromEditingCtrls]) 16097if (_dataGridViewState2[State2_MessageFromEditingCtrls]) 16131if (!_dataGridViewState2[State2_MouseOverRemovedEditingCtrl] 16132&& !_dataGridViewState2[State2_MouseOverRemovedEditingPanel] 16133&& _dataGridViewState2[State2_MouseEnterExpected] 16139_dataGridViewState2[State2_MouseOverRemovedEditingCtrl] = false; 16140_dataGridViewState2[State2_MouseOverRemovedEditingPanel] = false; 16141_dataGridViewState2[State2_MouseEnterExpected] = false; 16177_dataGridViewState2[State2_MouseEnterExpected] = true; 16340if (!_dataGridViewState2[State2_MessageFromEditingCtrls]) 16359if (_dataGridViewState2[State2_NextMouseUpIsDouble]) 17228_dataGridViewState2[State2_RaiseSelectionChanged] |= _individualSelectedCells.RemoveAllCellsAtBand(column: true, columnIndex) > 0 17367_dataGridViewState2[State2_RaiseSelectionChanged] |= _individualSelectedCells.RemoveAllCellsAtBand(column: false, rowIndexDeleted) > 0 17375if (_dataGridViewState2[State2_ReplacedCellSelected]) 17380if (_dataGridViewState2[State2_ReplacedCellReadOnly]) 17419_dataGridViewState2[State2_ReplacedCellSelected] = _individualSelectedCells.Contains(dataGridViewCell); 17420if (_dataGridViewState2[State2_ReplacedCellSelected]) 17425_dataGridViewState2[State2_ReplacedCellReadOnly] = _individualReadOnlyCells.Contains(dataGridViewCell); 17426if (_dataGridViewState2[State2_ReplacedCellReadOnly]) 17515_dataGridViewState2[State2_RightToLeftValid] = false; 18857_dataGridViewState2[State2_StopRaisingVerticalScroll] = true; 18880_dataGridViewState2[State2_StopRaisingVerticalScroll] = false; 18890_dataGridViewState2[State2_StopRaisingHorizontalScroll] = true; 18895_dataGridViewState2[State2_StopRaisingHorizontalScroll] = false; 18906_dataGridViewState2[State2_RaiseSelectionChanged] = false; 19026_dataGridViewState2[State2_DiscardEditingControl] = true; 21968_dataGridViewState2[State2_CurrentCellWantsInputKey] = 21972if (_dataGridViewState2[State2_CurrentCellWantsInputKey]) 21988_dataGridViewState2[State2_CurrentCellWantsInputKey] = true; 25524_dataGridViewState2[State2_RowsCollectionClearedInSetCell] = true; 25860_dataGridViewState2[State2_ShowColumnRelocationInsertion] = false; 25980if (_dataGridViewState2[State2_MouseEnterExpected]) 26375if (!_dataGridViewState2[State2_StopRaisingVerticalScroll]) 26875_dataGridViewState2[State2_RowsCollectionClearedInSetCell] = false; 26903if (_dataGridViewState2[State2_RowsCollectionClearedInSetCell]) 26971&& !_dataGridViewState2[State2_RowsCollectionClearedInSetCell] 26980_dataGridViewState2[State2_RowsCollectionClearedInSetCell] = false; 27097if (_dataGridViewState2[State2_DiscardEditingControl]) 27099_dataGridViewState2[State2_DiscardEditingControl] = false;