1 write to ButtonState
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (1)
1708ButtonState = newButtonState;
15 references to ButtonState
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (15)
188if (ButtonState != value) 770protected override bool MouseLeaveUnsharesRow(int rowIndex) => ButtonState.HasFlag(ButtonState.Pushed); 814UpdateButtonState(ButtonState | ButtonState.Checked, rowIndex); 828UpdateButtonState(ButtonState & ~ButtonState.Checked, rowIndex); 853if (ButtonState != ButtonState.Normal) 870UpdateButtonState(ButtonState | ButtonState.Pushed, e.RowIndex); 892if (ButtonState.HasFlag(ButtonState.Pushed) && 896UpdateButtonState(ButtonState & ~ButtonState.Pushed, rowIndex); 920if (!ButtonState.HasFlag(ButtonState.Pushed) && 924UpdateButtonState(ButtonState | ButtonState.Pushed, e.RowIndex); 926else if (ButtonState.HasFlag(ButtonState.Pushed) && !s_mouseInContentBounds) 928UpdateButtonState(ButtonState & ~ButtonState.Pushed, e.RowIndex); 945UpdateButtonState(ButtonState & ~ButtonState.Pushed, e.RowIndex); 1113if ((ButtonState & (ButtonState.Pushed | ButtonState.Checked)) != 0) 1397if ((ButtonState & (ButtonState.Pushed | ButtonState.Checked)) != 0)