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