1 write to ButtonState
System.Windows.Forms (1)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1769this.ButtonState = newButtonState;
15 references to ButtonState
System.Windows.Forms (15)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (15)
217if (this.ButtonState != value) 892return (this.ButtonState & ButtonState.Pushed) != 0; 946UpdateButtonState(this.ButtonState | ButtonState.Checked, rowIndex); 960UpdateButtonState(this.ButtonState & ~ButtonState.Checked, rowIndex); 983if (this.ButtonState != ButtonState.Normal) 1000UpdateButtonState(this.ButtonState | ButtonState.Pushed, e.RowIndex); 1023if ((this.ButtonState & ButtonState.Pushed) != 0 && 1027UpdateButtonState(this.ButtonState & ~ButtonState.Pushed, rowIndex); 1052if ((this.ButtonState & ButtonState.Pushed) == 0 && 1056UpdateButtonState(this.ButtonState | ButtonState.Pushed, e.RowIndex); 1058else if ((this.ButtonState & ButtonState.Pushed) != 0 && !mouseInContentBounds) 1060UpdateButtonState(this.ButtonState & ~ButtonState.Pushed, e.RowIndex); 1077UpdateButtonState(this.ButtonState & ~ButtonState.Pushed, e.RowIndex); 1213if ((this.ButtonState & (ButtonState.Pushed | ButtonState.Checked)) != 0) 1468if ((this.ButtonState & (ButtonState.Pushed | ButtonState.Checked)) != 0)